Commit 6a6855a2 authored by Akikonata's avatar Akikonata

changed event trigger

parent 4499d9cf
......@@ -62,11 +62,7 @@ kity.extendClass(KityMinder, (function(){
var moduleDealsEvents = moduleDeals.events;
if(moduleDealsEvents){
for(var _keyE in moduleDealsEvents){
var bindEvs = _keyE.split(" ");
var func = moduleDealsEvents[_keyE];
for (var _i = 0; _i < bindEvs.length; _i++){
me.on(bindEvs[_i],func);
}
me.on(_keyE,moduleDealsEvents[_keyE]);
}
}
......
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