File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 140140 /* Version v@VERSION@, Build time: ${ RIGHT_NOW } */
141141 (function(){
142142 var EventTarget = parserlib.util.EventTarget,
143- TokenStreamBase = parserlib.util.TokenStreamBase,
143+ TokenStreamBase = parserlib.util.TokenStreamBase,
144144 StringReader = parserlib.util.StringReader,
145145 SyntaxError = parserlib.util.SyntaxError,
146146 SyntaxUnit = parserlib.util.SyntaxUnit;
Original file line number Diff line number Diff line change @@ -1647,7 +1647,7 @@ Parser.prototype = function(){
16471647 */
16481648
16491649 var values = [ ] ,
1650- //valueParts = [],
1650+ //valueParts = [],
16511651 value = null ,
16521652 operator = null ;
16531653
@@ -1664,9 +1664,9 @@ Parser.prototype = function(){
16641664 values . push ( operator ) ;
16651665 } /*else {
16661666 //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+ }*/
16701670
16711671 value = this . _term ( inFunction ) ;
16721672
@@ -1678,7 +1678,7 @@ Parser.prototype = function(){
16781678 } while ( true ) ;
16791679 }
16801680
1681- //cleanup
1681+ //cleanup
16821682 /*if (valueParts.length){
16831683 values.push(new PropertyValue(valueParts, valueParts[0].line, valueParts[0].col));
16841684 }*/
Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ function isIdentStart(c){
3939}
4040
4141function 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 ;
4848}
4949
5050//-----------------------------------------------------------------------------
@@ -60,7 +60,7 @@ function mix(receiver, supplier){
6060 * @namespace parserlib.css
6161 */
6262function TokenStream ( input ) {
63- TokenStreamBase . call ( this , input , Tokens ) ;
63+ TokenStreamBase . call ( this , input , Tokens ) ;
6464}
6565
6666TokenStream . prototype = mix ( new TokenStreamBase ( ) , {
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ var ValidationTypes = {
339339 } ,
340340
341341 "<clip-source>" : function ( expression ) {
342- return ValidationTypes . isAny ( expression , "<uri>" ) ;
342+ return ValidationTypes . isAny ( expression , "<uri>" ) ;
343343 } ,
344344
345345 "<clip-path>" : function ( expression ) {
Original file line number Diff line number Diff line change 592592 valid : [
593593 "inset(10% 15% 10% 15%)" ,
594594 "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"
601601 ] ,
602602
603603 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'." ,
606606 "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'."
610610 }
611611 } ) ) ;
612612
You can’t perform that action at this time.
0 commit comments