Comparing version 0.0.1-6 to 0.0.1-7
@@ -199,3 +199,3 @@ (function() { | ||
RobotsTxt.prototype.parse = function(txt) { | ||
var currUserAgentGroup, evaluate, i, line, lineA, myGateKeeper, _i, _len; | ||
var currUserAgentGroup, evaluate, line, lineA, line_counter, myGateKeeper, _i, _len; | ||
if (txt == null) { | ||
@@ -274,6 +274,6 @@ txt = txt; | ||
}, this); | ||
i = 0; | ||
line_counter = 0; | ||
for (_i = 0, _len = lineA.length; _i < _len; _i++) { | ||
line = lineA[_i]; | ||
evaluate(line, ++i); | ||
evaluate(line, ++line_counter); | ||
} | ||
@@ -280,0 +280,0 @@ if (myGateKeeper) { |
@@ -19,3 +19,3 @@ { | ||
"main" : "./index.js", | ||
"version" : "0.0.1-6" | ||
"version" : "0.0.1-7" | ||
} |
Sorry, the diff of this file is not supported yet
23553