diff --git a/www/team/inner.js b/www/team/inner.js index 58139e6c9..1882a4008 100644 --- a/www/team/inner.js +++ b/www/team/inner.js @@ -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 = {};