[KSS-checkins] r37474 - kukit/kss.demo/trunk/kss/demo/browser

reebalazs at codespeak.net reebalazs at codespeak.net
Sun Jan 28 15:41:33 CET 2007


Author: reebalazs
Date: Sun Jan 28 15:41:30 2007
New Revision: 37474

Modified:
   kukit/kss.demo/trunk/kss/demo/browser/more_selectors.js
Log:
Merge from gotcha-late-binding branch :37101

Modified: kukit/kss.demo/trunk/kss/demo/browser/more_selectors.js
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/more_selectors.js	(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/more_selectors.js	Sun Jan 28 15:41:30 2007
@@ -25,13 +25,13 @@
     if (this.count == 0) {
         // Continue with the real action.
         this.count = this.countsomuch;
-        this.__trigger_event__('doit', {}, oper.node);
+        this.__continue_event__('doit', oper.node, {});
     } else {
-        this.__trigger_event__('annoy', {}, oper.node);
+        this.__continue_event__('annoy', oper.node, {});
     }
 };
 
-kukit.er.eventRegistry.register('annoyclicker', 'click', kukit.more_selectors.AnnoyClickerEvent, '__bind_click__', '__default_click__');
-kukit.er.eventRegistry.register('annoyclicker', 'annoy', kukit.more_selectors.AnnoyClickerEvent, null, null);
-kukit.er.eventRegistry.register('annoyclicker', 'doit', kukit.more_selectors.AnnoyClickerEvent, null, null);
+kukit.eventsGlobalRegistry.register('annoyclicker', 'click', kukit.more_selectors.AnnoyClickerEvent, '__bind_click__', '__default_click__');
+kukit.eventsGlobalRegistry.register('annoyclicker', 'annoy', kukit.more_selectors.AnnoyClickerEvent, null, null);
+kukit.eventsGlobalRegistry.register('annoyclicker', 'doit', kukit.more_selectors.AnnoyClickerEvent, null, null);
 


More information about the Kukit-checkins mailing list