Skip to content

Commit 437bd3f

Browse files
committed
Untabify.
1 parent 69bfd59 commit 437bd3f

File tree

5 files changed

+25
-25
lines changed

5 files changed

+25
-25
lines changed

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
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;

src/css/Parser.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
}*/

src/css/TokenStream.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ function isIdentStart(c){
3939
}
4040

4141
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;
4848
}
4949

5050
//-----------------------------------------------------------------------------
@@ -60,7 +60,7 @@ function mix(receiver, supplier){
6060
* @namespace parserlib.css
6161
*/
6262
function TokenStream(input){
63-
TokenStreamBase.call(this, input, Tokens);
63+
TokenStreamBase.call(this, input, Tokens);
6464
}
6565

6666
TokenStream.prototype = mix(new TokenStreamBase(), {

src/css/ValidationTypes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) {

tests/css/Validation.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -592,21 +592,21 @@
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

0 commit comments

Comments
 (0)