|
|
@ -14,7 +14,6 @@ define([
|
|
|
|
'/common/outer/network-config.js',
|
|
|
|
'/common/outer/network-config.js',
|
|
|
|
'/customize/pages.js',
|
|
|
|
'/customize/pages.js',
|
|
|
|
'/checkup/checkup-tools.js',
|
|
|
|
'/checkup/checkup-tools.js',
|
|
|
|
'/common/outer/network-config.js',
|
|
|
|
|
|
|
|
'/customize/application_config.js',
|
|
|
|
'/customize/application_config.js',
|
|
|
|
|
|
|
|
|
|
|
|
'/bower_components/tweetnacl/nacl-fast.min.js',
|
|
|
|
'/bower_components/tweetnacl/nacl-fast.min.js',
|
|
|
@ -22,7 +21,7 @@ define([
|
|
|
|
'less!/checkup/app-checkup.less',
|
|
|
|
'less!/checkup/app-checkup.less',
|
|
|
|
], function ($, ApiConfig, Assertions, h, Messages, DomReady,
|
|
|
|
], function ($, ApiConfig, Assertions, h, Messages, DomReady,
|
|
|
|
nThen, SFCommonO, Login, Hash, Util, Pinpad,
|
|
|
|
nThen, SFCommonO, Login, Hash, Util, Pinpad,
|
|
|
|
NetConfig, Pages, Tools, NetConfig, AppConfig) {
|
|
|
|
NetConfig, Pages, Tools, AppConfig) {
|
|
|
|
var Assert = Assertions();
|
|
|
|
var Assert = Assertions();
|
|
|
|
var trimSlashes = function (s) {
|
|
|
|
var trimSlashes = function (s) {
|
|
|
|
if (typeof(s) !== 'string') { return s; }
|
|
|
|
if (typeof(s) !== 'string') { return s; }
|
|
|
@ -80,7 +79,7 @@ define([
|
|
|
|
API_URL = new URL(NetConfig.getWebsocketURL(window.location.origin), trimmedUnsafe);
|
|
|
|
API_URL = new URL(NetConfig.getWebsocketURL(window.location.origin), trimmedUnsafe);
|
|
|
|
} catch (err) {
|
|
|
|
} catch (err) {
|
|
|
|
console.error(err);
|
|
|
|
console.error(err);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var ACCOUNTS_URL;
|
|
|
|
var ACCOUNTS_URL;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|