|
|
|
@ -19,6 +19,8 @@ var debug = function (msg) { console.log(msg); };
|
|
|
|
|
var init = function (client, cb) {
|
|
|
|
|
debug('SW INIT');
|
|
|
|
|
|
|
|
|
|
require(['/api/config?cb=' + (+new Date()).toString(16)], function (ApiConfig) {
|
|
|
|
|
if (ApiConfig.requireConf) { require.config(ApiConfig.requireConf); }
|
|
|
|
|
require([
|
|
|
|
|
'/common/requireconfig.js'
|
|
|
|
|
], function (RequireConfig) {
|
|
|
|
@ -142,6 +144,7 @@ var init = function (client, cb) {
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
self.addEventListener('message', function (e) {
|
|
|
|
|