Author: reebalazs
Date: Sat Feb 17 17:01:38 2007
New Revision: 39122

Modified:
   kukit/kukit.js/trunk/kukit/resourcedata.js
Log:
Fix result of previous refactoring

Modified: kukit/kukit.js/trunk/kukit/resourcedata.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/resourcedata.js  (original)
+++ kukit/kukit.js/trunk/kukit/resourcedata.js  Sat Feb 17 17:01:38 2007
@@ -104,6 +104,9 @@
     // For normal string parameters, this would return the string itself.
     // In other execution contexts (like kssSelector, for example) this can
     // do something else.
+    if (! this.pprovider) {
+        this.check(kukit.pprovidersGlobalRegistry);
+    }
     parms[key] = this.pprovider.eval([this.txt], node, defaultparms);
 };
 
@@ -125,6 +128,9 @@
 
 kukit.rd.KssMethodValue.prototype.evaluate = function(parms, key, node, 
defaultparms) {
     // Evaluate into parms.
+    if (! this.pprovider) {
+        this.check(kukit.pprovidersGlobalRegistry);
+    }
     parms[key] = this.pprovider.eval(this.args, node, defaultparms);
 };
 
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to