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

Commit d71f708

Browse files
committed
stdio is redundant, namespace url, do not validate contrib
1 parent e891b4f commit d71f708

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "closurecompiler-externs",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"author": "Daniel Wirtz <[email protected]>",
55
"description": "A collection of node.js externs for use with ClosureCompiler.js.",
66
"contributors": [
File renamed without changes.

tests/validate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ for (var i=0; i<files.length; i++) {
2929
externs.push("./"+files[i]);
3030
}
3131
}
32-
files = fs.readdirSync("./contrib");
32+
/* files = fs.readdirSync("./contrib");
3333
for (i=0; i<files.length; i++) {
3434
if (pattern.test(files[i])) {
3535
externs.push("./contrib/"+files[i]);
3636
}
37-
}
37+
} */
3838

3939
console.log("Validating "+externs.length+" files:\n", externs);
4040
ClosureCompiler.compile("./tests/noop.js", {

url.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ var url = {};
3636
/**
3737
* @typedef {{href: ?string, protocol: ?string, host: ?string, auth: ?string, hostname: ?string, port: ?string, pathname: ?string, search: ?string, path: ?string, query: ?string, hash: ?string}}
3838
*/
39-
var URL;
39+
url.URL;
4040

4141
/**
4242
* @param {string} urlStr
4343
* @param {boolean=} parseQueryString
4444
* @param {boolean=} slashesDenoteHost
45-
* @return {URL}
45+
* @return {url.URL}
4646
* @nosideeffects
4747
*/
4848
url.parse = function(urlStr, parseQueryString, slashesDenoteHost) {};
4949

5050
/**
51-
* @param {URL} urlObj
51+
* @param {url.URL} urlObj
5252
* @return {string}
5353
* @nosideeffects
5454
*/

0 commit comments

Comments
 (0)