[KSS-checkins] r50418 - in kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes: . kukit
reebalazs at codespeak.net
reebalazs at codespeak.net
Mon Jan 7 09:26:08 CET 2008
Author: reebalazs
Date: Mon Jan 7 09:26:08 2008
New Revision: 50418
Modified:
kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/ (props changed)
kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/providerreg.js
Log:
Add future BBB to kssAttr - currently inactive.
Modified: kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/providerreg.js
==============================================================================
--- kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/providerreg.js (original)
+++ kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/providerreg.js Mon Jan 7 09:26:08 2008
@@ -201,6 +201,18 @@
kukit.pr.KssAttrPP = function() {};
kukit.pr.KssAttrPP.prototype = {
check: function(args) {
+;;; // Uncomment next part to activate BBB:
+;;; //kukit.E = 'kssAttr is deprecated and will be removed at ';
+;;; //kukit.E += '2008-XX-XX';
+;;; //kukit.E += ', use kssValue. Change your html ';
+;;; //kukit.E += 'class markup from kssattr-key-value to ';
+;;; //kukit.E += 'kss-attr-key-value, ';
+;;; //kukit.E += 'and change the provider from kssAttr(key, true) to ';
+;;; //kukit.E += 'kssValue(attr, key). Note that kssValue has a third ';
+;;; //kukit.E += 'parameter to enable/disable recursion, but in contrary ';
+;;; //kukit.E += 'to kssAttr, kssValue has recursion by default enabled ';
+;;; //kukit.E += '(true).';
+;;; //kukit.logWarning(kukit.E);
;;; if (args.length != 1 && args.length != 2) {
;;; kukit.E = 'kssAttr method needs 1 or 2 argument (attrname,';
;;; kukit.E += ' [recurseParents]).';
More information about the Kukit-checkins
mailing list