Software: Microsoft-IIS/10.0. PHP/7.4.33 uname -a: Windows NT LAKE 10.0 build 20348 (Windows Server 2016) AMD64 IWPD_801(traduongco) Safe-mode: OFF (not secure) C:\Windows\SystemApps\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\core\js\ drwxrwxrwx | |
| Viewing file: Select action/file-type: //
// Copyright (C) Microsoft. All rights reserved.
//
define(['lib/knockout', 'legacy/appViewManager'], (ko, appViewManager) => {
class OobeProgressViewModel {
constructor(params) {
let res = new Windows.ApplicationModel.Resources.ResourceLoader("resources");
this.progressText = params.progressText ? params.progressText : ko.observable(res.getString("Progress"));
appViewManager.subscribeForUpdateType(this, CloudExperienceHost.FrameViewModelUpdateType.Language)
}
dispose() {
appViewManager.unsubscribeForUpdateType(this, CloudExperienceHost.FrameViewModelUpdateType.Language)
}
update(updateType, completeDispatch, errorDispatch, updateTag) {
switch (updateType) {
case CloudExperienceHost.FrameViewModelUpdateType.Language:
this.languageOverridden(updateTag);
completeDispatch();
break;
}
}
languageOverridden(updateTag) {
let result = CloudExperienceHost.StringResources.makeResourceObject("resources", null /* keyList */, updateTag);
let res = JSON.parse(result);
this.progressText(res.Progress);
}
}
return OobeProgressViewModel;
});
|
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.6075 ]-- |