Comparing version 0.0.3-1 to 0.0.4-0
@@ -36,8 +36,10 @@ (function() { | ||
if (matchO.priority > prio) { | ||
return r = false; | ||
r = false; | ||
return prio = matchO.priority; | ||
} | ||
} else if (matchO.type === 'allow') { | ||
if (matchO.priority >= prio) { | ||
return r = true; | ||
r = true; | ||
} | ||
return prio = matchO.priority; | ||
} | ||
@@ -44,0 +46,0 @@ } |
@@ -19,3 +19,3 @@ { | ||
"main" : "./index.js", | ||
"version" : "0.0.3-1" | ||
"version" : "0.0.4-0" | ||
} |
@@ -114,2 +114,4 @@ robots.txt parser for node.js | ||
- [Robots.txt Specifications by Google](http://code.google.com/web/controlcrawlindex/docs/robots_txt.html) | ||
- a web interface can be found at [https://github.com/franzenzenhofer/webrobotstxt](https://github.com/franzenzenhofer/webrobotstxt) | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30250
402
116