when parsing a string, capture the content too

This commit is contained in:
cloudhead
2010-03-05 14:55:21 -05:00
parent 00279d8a06
commit cd5bddff99
2 changed files with 6 additions and 3 deletions

View File

@@ -1,6 +1,9 @@
if (typeof(window) === 'undefined') { var tree = require(require('path').join(__dirname, '..', '..', 'less', 'tree')); }
tree.Quoted = function Quoted(value) { this.value = value };
tree.Quoted = function Quoted(value, content) {
this.value = value;
this.content = content;
};
tree.Quoted.prototype = {
toCSS: function () {
var css = this.value;