Commit 6a6855a2 authored by Akikonata's avatar Akikonata

changed event trigger

parent 4499d9cf
...@@ -62,11 +62,7 @@ kity.extendClass(KityMinder, (function(){ ...@@ -62,11 +62,7 @@ kity.extendClass(KityMinder, (function(){
var moduleDealsEvents = moduleDeals.events; var moduleDealsEvents = moduleDeals.events;
if(moduleDealsEvents){ if(moduleDealsEvents){
for(var _keyE in moduleDealsEvents){ for(var _keyE in moduleDealsEvents){
var bindEvs = _keyE.split(" "); me.on(_keyE,moduleDealsEvents[_keyE]);
var func = moduleDealsEvents[_keyE];
for (var _i = 0; _i < bindEvs.length; _i++){
me.on(bindEvs[_i],func);
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment