Author: jfroche
Date: Tue Aug 28 23:06:39 2007
New Revision: 46113

Modified:
   kukit/kukit.js/branch/commas-in-selectors/kukit/kssparser.js
Log:
rename event variables

Modified: kukit/kukit.js/branch/commas-in-selectors/kukit/kssparser.js
==============================================================================
--- kukit/kukit.js/branch/commas-in-selectors/kukit/kssparser.js        
(original)
+++ kukit/kukit.js/branch/commas-in-selectors/kukit/kssparser.js        Tue Aug 
28 23:06:39 2007
@@ -71,13 +71,13 @@
     // check the event name and namespace use in evt- rules
     // equals the event name and namespace set in the KSS selector.
 //  XXX GC do not forget to check event names    
-//    if (block.evt_name != null) {
+//    if (block.eventName != null) {
 //        // We have evt- parms in the rule.
-//        if (block.evt_name != parser.kssSelector.name
-//            || block.evt_namespace != parser.kssSelector.namespace) {
+//        if (block.eventName != parser.kssSelector.name
+//            || block.eventNamespace != parser.kssSelector.namespace) {
 //            // XXX this should be done in another way,
 //            //so that we can see where the error happened.
-//;;;         kukit.E = 'Wrong prefix : we have "' + block.evt_namespace;
+//;;;         kukit.E = 'Wrong prefix : we have "' + block.eventNamespace;
 //;;;         kukit.E += '-' + block.evt_name + '" instead of "' + key;
 //;;;         kukit.E += '". KSS prefix ';
 //;;;         kukit.E += '"evt-[<NAMESPACE>-]<EVENTNAME>-<NAME>" ';
@@ -120,8 +120,8 @@
 kukit.kssp.Block.prototype.process = function() {
     //this.parms = {};
     this.eventParameters = {};
-    this.evt_name = null; // we don't know at this point
-    this.evt_namespace = null; // we don't know at this point
+    this.eventName = null; // we don't know at this point
+    this.eventNamespace = null; // we don't know at this point
     this.actions = new kukit.rd.ActionSet();
     // Parse all tokens (except first and last)
     var context = {'nextTokenIndex': 1};
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to