ddopson / underscore-cli

Command-line utility-belt for hacking JSON and Javascript.
Other
1.72k stars 83 forks source link

"require" should work #9

Closed ddopson closed 12 years ago

ddopson commented 12 years ago

it currently doesn't!

underscore run 'require("foo").blah()'

ddopson commented 12 years ago

Tested with:

bin/underscore run 'functions(require("fs"))'

Works!

ddopson commented 12 years ago

oops. that fix breaks 'require' in templates...