Skip to content

Commit

Permalink
allow templates/plugins to override JSDoc dependencies on Node.js (js…
Browse files Browse the repository at this point in the history
…doc#671)

Also removes Requizzle from git, because this module is not used on Rhino.
  • Loading branch information
hegemonic committed Jun 15, 2014
1 parent fa57a07 commit 2d87090
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 601 deletions.
5 changes: 4 additions & 1 deletion jsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ global.env = {
// plugins, and within JSDoc itself. It also allows external templates and plugins to
// require JSDoc's module dependencies without installing them locally.
require = require('requizzle')({
requirePaths: [path.join(__dirname, 'lib'), path.join(__dirname, 'node_modules')],
requirePaths: {
before: [path.join(__dirname, 'lib')],
after: [path.join(__dirname, 'node_modules')]
},
infect: true
});
}
Expand Down
22 changes: 0 additions & 22 deletions node_modules/requizzle/LICENSE

This file was deleted.

168 changes: 0 additions & 168 deletions node_modules/requizzle/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions node_modules/requizzle/index.js

This file was deleted.

Loading

0 comments on commit 2d87090

Please sign in to comment.