|
|
|
@ -8,6 +8,7 @@ define([
|
|
|
|
|
'/bower_components/nthen/index.js',
|
|
|
|
|
'/common/sframe-common.js',
|
|
|
|
|
'/common/proxy-manager.js',
|
|
|
|
|
'/common/hyperscript.js',
|
|
|
|
|
'/customize/application_config.js',
|
|
|
|
|
'/customize/messages.js',
|
|
|
|
|
|
|
|
|
@ -24,6 +25,7 @@ define([
|
|
|
|
|
nThen,
|
|
|
|
|
SFCommon,
|
|
|
|
|
ProxyManager,
|
|
|
|
|
h,
|
|
|
|
|
AppConfig,
|
|
|
|
|
Messages)
|
|
|
|
|
{
|
|
|
|
@ -210,6 +212,15 @@ define([
|
|
|
|
|
UI.removeLoadingScreen();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var onEvent = function (obj) {
|
|
|
|
|
var ev = obj.ev;
|
|
|
|
|
var data = obj.data;
|
|
|
|
|
if (ev === 'PEWPEW') {
|
|
|
|
|
// Do something
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var main = function () {
|
|
|
|
|
var common;
|
|
|
|
|
var proxy = {};
|
|
|
|
|