eval method for Keyword

This commit is contained in:
cloudhead
2010-03-03 11:59:08 -05:00
parent 76eb332b24
commit 3e0ad2bf73

View File

@@ -1,6 +1,7 @@
if (typeof(window) === 'undefined') { var tree = require(require('path').join(__dirname, '..', '..', 'less', 'tree')); }
tree.Keyword = function Keyword(value) { this.value = value };
tree.Keyword.prototype.toCSS = function () {
return this.value;
tree.Keyword.prototype = {
eval: function () { return this },
toCSS: function () { return this.value }
};