Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
stdio is redundant, namespace url, do not validate contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Jul 6, 2014
1 parent e891b4f commit d71f708
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "closurecompiler-externs",
"version": "1.0.1",
"version": "1.0.2",
"author": "Daniel Wirtz <[email protected]>",
"description": "A collection of node.js externs for use with ClosureCompiler.js.",
"contributors": [
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ for (var i=0; i<files.length; i++) {
externs.push("./"+files[i]);
}
}
files = fs.readdirSync("./contrib");
/* files = fs.readdirSync("./contrib");
for (i=0; i<files.length; i++) {
if (pattern.test(files[i])) {
externs.push("./contrib/"+files[i]);
}
}
} */

console.log("Validating "+externs.length+" files:\n", externs);
ClosureCompiler.compile("./tests/noop.js", {
Expand Down
6 changes: 3 additions & 3 deletions url.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ var url = {};
/**
* @typedef {{href: ?string, protocol: ?string, host: ?string, auth: ?string, hostname: ?string, port: ?string, pathname: ?string, search: ?string, path: ?string, query: ?string, hash: ?string}}
*/
var URL;
url.URL;

/**
* @param {string} urlStr
* @param {boolean=} parseQueryString
* @param {boolean=} slashesDenoteHost
* @return {URL}
* @return {url.URL}
* @nosideeffects
*/
url.parse = function(urlStr, parseQueryString, slashesDenoteHost) {};

/**
* @param {URL} urlObj
* @param {url.URL} urlObj
* @return {string}
* @nosideeffects
*/
Expand Down

0 comments on commit d71f708

Please sign in to comment.