mirror of
https://github.com/less/less.js.git
synced 2026-01-23 22:27:57 -05:00
eval method for Keyword
This commit is contained in:
@@ -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 }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user