mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-26 06:43:43 +00:00
fix(ngdoc): fix the node warnings that show up during build
This commit is contained in:
parent
b36504577c
commit
4949586a76
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ function Doc(text, file, line) {
|
||||||
this.links = this.links || [];
|
this.links = this.links || [];
|
||||||
}
|
}
|
||||||
Doc.METADATA_IGNORE = (function() {
|
Doc.METADATA_IGNORE = (function() {
|
||||||
var words = require('fs').readFileSync(__dirname + '/ignore.words', 'utf8');
|
var words = fs.readFileSync(__dirname + '/ignore.words', 'utf8');
|
||||||
return words.toString().split(/[,\s\n\r]+/gm);
|
return words.toString().split(/[,\s\n\r]+/gm);
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue