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