Permalink
Browse files

Remove useless variable

  • Loading branch information...
1 parent 3443d9c commit 01b87889a24a23d5c025dcb96a5669dc55c7fe15 @NV committed Dec 30, 2011
Showing with 2 additions and 5 deletions.
  1. +2 −5 lib/parse.js
View
@@ -31,7 +31,6 @@ CSSOM.parse = function parse(token) {
var state = "before-selector";
var index;
- var j = i;
var buffer = "";
var SIGNIFICANT_WHITESPACE = {
@@ -66,8 +65,7 @@ CSSOM.parse = function parse(token) {
// String
case '"':
- j = i + 1;
- index = token.indexOf('"', j) + 1;
+ index = token.indexOf('"', i + 1) + 1;
if (!index) {
throw '" is missing';
}
@@ -84,8 +82,7 @@ CSSOM.parse = function parse(token) {
break;
case "'":
- j = i + 1;
- index = token.indexOf("'", j) + 1;
+ index = token.indexOf("'", i + 1) + 1;
if (!index) {
throw "' is missing";
}

0 comments on commit 01b8788

Please sign in to comment.