fix(ngdoc): fix the node warnings that show up during build

This commit is contained in:
Matias Niemelä 2013-06-04 18:24:01 -04:00 committed by Misko Hevery
parent b36504577c
commit 4949586a76

View file

@ -43,7 +43,7 @@ function Doc(text, file, line) {
this.links = this.links || [];
}
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);
})();