@@ -10,7 +10,7 @@ var Quoted = function (str, content, escaped, index, currentFileInfo) {
10
10
this . _index = index ;
11
11
this . _fileInfo = currentFileInfo ;
12
12
} ;
13
- Quoted . prototype = new JsEvalNode ( ) ;
13
+ Quoted . prototype = new Node ( ) ;
14
14
Quoted . prototype . type = "Quoted" ;
15
15
Quoted . prototype . genCSS = function ( context , output ) {
16
16
if ( ! this . escaped ) {
@@ -22,7 +22,7 @@ Quoted.prototype.genCSS = function (context, output) {
22
22
}
23
23
} ;
24
24
Quoted . prototype . containsVariables = function ( ) {
25
- return this . value . match ( / ( ` ( [ ^ ` ] + ) ` ) | @ \{ ( [ \w - ] + ) \} / ) ;
25
+ return this . value . match ( / @ \{ ( [ \w - ] + ) \} / ) ;
26
26
} ;
27
27
Quoted . prototype . eval = function ( context ) {
28
28
var that = this , value = this . value ;
@@ -45,7 +45,6 @@ Quoted.prototype.eval = function (context) {
45
45
} while ( value !== evaluatedValue ) ;
46
46
return evaluatedValue ;
47
47
}
48
- value = iterativeReplace ( value , / ` ( [ ^ ` ] + ) ` / g, javascriptReplacement ) ;
49
48
value = iterativeReplace ( value , / @ \{ ( [ \w - ] + ) \} / g, variableReplacement ) ;
50
49
value = iterativeReplace ( value , / \$ \{ ( [ \w - ] + ) \} / g, propertyReplacement ) ;
51
50
return new Quoted ( this . quote + value + this . quote , value , this . escaped , this . getIndex ( ) , this . fileInfo ( ) ) ;
0 commit comments