| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Windows/SystemApps/MicrosoftWindows.Client.OOBE_cw5n1h2txyewy/core/js/ |
Upload File : |
//
// Copyright (C) Microsoft. All rights reserved.
//
class RequirePathConfig {
constructor(root) {
// Setup path for requirejs
this.baseUrl = root + '/js';
this.paths = {
legacy: '/js',
lib: '/lib',
winjs: '/Microsoft.WinJS-reduced/js',
jsCommon: this.baseUrl + '/common',
jsTemplates: '/webapps/templates/js',
pageView: root + '/view',
viewTemplates: root + '/view/templates',
inclusiveOobeJsCommon: '/webapps/inclusiveOobe/js/common',
inclusiveOobeViewTemplates: '/webapps/inclusiveOobe/view/templates',
aOobeJsCommon: '/webapps/AOobe/js/common',
aOobeViewTemplates: '/webapps/AOobe/view/templates',
viewCommonTemplates: '/webapps/templates/view',
appLaunchers: this.baseUrl + '/appLaunchers',
optional: '/lib/optional',
sample: '/samples',
data: '/data',
corejs: '/core/js'
};
// Mapping for lib versions
this.map = {
'*': {
'lib/knockout': 'lib/knockout-3.4.0',
'lib/knockout-winjs': 'lib/knockout-winjs-wrapper'
}
};
// Set module/script load timeout to 30s (default is 7s, which is too short on slower platforms).
this.waitSeconds = 30;
}
}