Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(826)

Unified Diff: utils/apidoc/mdn/crawl.js

Issue 9315026: Cleanup mdn scripts (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review comment fixes Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: utils/apidoc/mdn/crawl.js
diff --git a/utils/apidoc/mdn/crawl.js b/utils/apidoc/mdn/crawl.js
index d4965eb920d8d4815d075631e14aefcd404a4b5c..02cb97ac35f1451a95d6adcf3532e43bedf0ec2c 100644
--- a/utils/apidoc/mdn/crawl.js
+++ b/utils/apidoc/mdn/crawl.js
@@ -17,7 +17,7 @@ function scrape(filename, link) {
var prefix = 'https://developer.mozilla.org/';
var notFoundPrefix = 'https://developer.mozilla.org/Article_not_found?uri=';
if (link.indexOf(prefix) != 0 ) {
- throw "Unexpected url:" + link;
+ throw "Unexpected url: " + link;
}
var scrapePath = "/search?q=cache:" + link;
// We crawl content from googleusercontent.com so we don't have to worry about

Powered by Google App Engine
This is Rietveld 408576698