diff options
| author | Vojta Jina | 2011-10-17 15:26:10 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-10-18 22:23:52 -0700 | 
| commit | 8978e066b5f7fd0fac273b470b90fe4f9bef48c2 (patch) | |
| tree | 7b84486a93227cddbb98b4bfd1c808874d199b54 /docs/src/writer.js | |
| parent | 833eb3c84445110dc1dad238120573f08ed8d102 (diff) | |
| download | angular.js-8978e066b5f7fd0fac273b470b90fe4f9bef48c2.tar.bz2 | |
fix(gen-docs): require files without touching PATH
So that it works on latest revision of node...
New version of Node (v0.5.x) does not support require.paths.push().
Diffstat (limited to 'docs/src/writer.js')
| -rw-r--r-- | docs/src/writer.js | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/docs/src/writer.js b/docs/src/writer.js index e5dff59f..dcf78930 100644 --- a/docs/src/writer.js +++ b/docs/src/writer.js @@ -2,7 +2,6 @@   * All writing related code here. This is so that we can separate the async code from sync code   * for testability   */ -require.paths.push(__dirname);  var qfs = require('q-fs');  var Q = require('qq');  var OUTPUT_DIR = "build/docs/"; | 
