From 4949586a76e0dd2baf47f519219011bd36dc52fa Mon Sep 17 00:00:00 2001 From: Matias Niemelä Date: Tue, 4 Jun 2013 18:24:01 -0400 Subject: fix(ngdoc): fix the node warnings that show up during build --- docs/src/ngdoc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index 679dfe15..c34b8475 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -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); })(); -- cgit v1.2.3