thlorenz/proxyquireify — pull request #14 by azu (2014-09-14 08:56:16+00:00)
Title: Fix build script in example

Hi, I'm trying to foobar example and get an error:

```
> foobar@0.0.0 test /Users/azu/workspace/toybox/proxyquireify/examples/foobar
> node build && open index.html

/Users/azu/workspace/toybox/proxyquireify/node_modules/browserify/index.js:456
throw new Error(
^
Error: bundle() no longer accepts option arguments.
Move all option arguments to the browserify() constructor.
at Browserify.bundle (/Users/azu/workspace/toybox/proxyquireify/node_modules/browserify/index.js:456:15)
at Object. (/Users/azu/workspace/toybox/proxyquireify/examples/foobar/build.js:9:4)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
```

bundle() no longer accepts option arguments with browserify 5.0.

- https://github.com/substack/node-browserify/blob/master/doc/changelog/5_0.markdown#bundle

This pull request fixes `build.js`.