File tree Expand file tree Collapse file tree 5 files changed +25
-25
lines changed Expand file tree Collapse file tree 5 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 140
140
/* Version v@VERSION@, Build time: ${ RIGHT_NOW } */
141
141
(function(){
142
142
var EventTarget = parserlib.util.EventTarget,
143
- TokenStreamBase = parserlib.util.TokenStreamBase,
143
+ TokenStreamBase = parserlib.util.TokenStreamBase,
144
144
StringReader = parserlib.util.StringReader,
145
145
SyntaxError = parserlib.util.SyntaxError,
146
146
SyntaxUnit = parserlib.util.SyntaxUnit;
Original file line number Diff line number Diff line change @@ -1647,7 +1647,7 @@ Parser.prototype = function(){
1647
1647
*/
1648
1648
1649
1649
var values = [ ] ,
1650
- //valueParts = [],
1650
+ //valueParts = [],
1651
1651
value = null ,
1652
1652
operator = null ;
1653
1653
@@ -1664,9 +1664,9 @@ Parser.prototype = function(){
1664
1664
values . push ( operator ) ;
1665
1665
} /*else {
1666
1666
//if there's not an operator, you have a full value
1667
- values.push(new PropertyValue(valueParts, valueParts[0].line, valueParts[0].col));
1668
- valueParts = [];
1669
- }*/
1667
+ values.push(new PropertyValue(valueParts, valueParts[0].line, valueParts[0].col));
1668
+ valueParts = [];
1669
+ }*/
1670
1670
1671
1671
value = this . _term ( inFunction ) ;
1672
1672
@@ -1678,7 +1678,7 @@ Parser.prototype = function(){
1678
1678
} while ( true ) ;
1679
1679
}
1680
1680
1681
- //cleanup
1681
+ //cleanup
1682
1682
/*if (valueParts.length){
1683
1683
values.push(new PropertyValue(valueParts, valueParts[0].line, valueParts[0].col));
1684
1684
}*/
Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ function isIdentStart(c){
39
39
}
40
40
41
41
function mix ( receiver , supplier ) {
42
- for ( var prop in supplier ) {
43
- if ( supplier . hasOwnProperty ( prop ) ) {
44
- receiver [ prop ] = supplier [ prop ] ;
45
- }
46
- }
47
- return receiver ;
42
+ for ( var prop in supplier ) {
43
+ if ( supplier . hasOwnProperty ( prop ) ) {
44
+ receiver [ prop ] = supplier [ prop ] ;
45
+ }
46
+ }
47
+ return receiver ;
48
48
}
49
49
50
50
//-----------------------------------------------------------------------------
@@ -60,7 +60,7 @@ function mix(receiver, supplier){
60
60
* @namespace parserlib.css
61
61
*/
62
62
function TokenStream ( input ) {
63
- TokenStreamBase . call ( this , input , Tokens ) ;
63
+ TokenStreamBase . call ( this , input , Tokens ) ;
64
64
}
65
65
66
66
TokenStream . prototype = mix ( new TokenStreamBase ( ) , {
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ var ValidationTypes = {
339
339
} ,
340
340
341
341
"<clip-source>" : function ( expression ) {
342
- return ValidationTypes . isAny ( expression , "<uri>" ) ;
342
+ return ValidationTypes . isAny ( expression , "<uri>" ) ;
343
343
} ,
344
344
345
345
"<clip-path>" : function ( expression ) {
Original file line number Diff line number Diff line change 592
592
valid : [
593
593
"inset(10% 15% 10% 15%)" ,
594
594
"circle(30% at 85% 15%)" ,
595
- "url('#myPath')" ,
596
- "ellipse(40% 40%)" ,
597
- "margin-box" ,
598
- "ellipse(40% 40%) content-box" ,
599
- "stroke-box ellipse(40% 40%)" ,
600
- "none"
595
+ "url('#myPath')" ,
596
+ "ellipse(40% 40%)" ,
597
+ "margin-box" ,
598
+ "ellipse(40% 40%) content-box" ,
599
+ "stroke-box ellipse(40% 40%)" ,
600
+ "none"
601
601
] ,
602
602
603
603
invalid : {
604
- "stroke-box ellipse(40% 40%) 40%" : "Expected end of value but found '40%'." ,
605
- "x-box" : "Expected (<clip-source> | <clip-path> | none) but found 'x-box'." ,
604
+ "stroke-box ellipse(40% 40%) 40%" : "Expected end of value but found '40%'." ,
605
+ "x-box" : "Expected (<clip-source> | <clip-path> | none) but found 'x-box'." ,
606
606
"foo" : "Expected (<clip-source> | <clip-path> | none) but found 'foo'." ,
607
- "invert(40% 40%)" : "Expected (<clip-source> | <clip-path> | none) but found 'invert(40% 40%)'." ,
608
- "40%" : "Expected (<clip-source> | <clip-path> | none) but found '40%'." ,
609
- "0.4" : "Expected (<clip-source> | <clip-path> | none) but found '0.4'."
607
+ "invert(40% 40%)" : "Expected (<clip-source> | <clip-path> | none) but found 'invert(40% 40%)'." ,
608
+ "40%" : "Expected (<clip-source> | <clip-path> | none) but found '40%'." ,
609
+ "0.4" : "Expected (<clip-source> | <clip-path> | none) but found '0.4'."
610
610
}
611
611
} ) ) ;
612
612
You can’t perform that action at this time.
0 commit comments