From 2d7f7b895d6d470b1bd2b1d3ec607b37eea778a5 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 9 Sep 2019 16:30:28 +0200 Subject: [PATCH] Fix team inner.js --- www/team/inner.js | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 = {};