Skip to content

Instantly share code, notes, and snippets.

@foxdonut
Created March 30, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save foxdonut/be8f6b26e95622f40134 to your computer and use it in GitHub Desktop.
Save foxdonut/be8f6b26e95622f40134 to your computer and use it in GitHub Desktop.
wire with require and extend
var _ = require("lodash");
module.exports = _.extend({
$plugins: [
require("wire/aop"),
require("msgs/wire"),
require("rest/wire")/*,
require("wire/debug")*/
]},
require("./books/bookList/wire-spec"),
require("./books/newBook/wire-spec"),
require("./books/listener/wire-spec"),
require("./books/radio/wire-spec"), {
onReady: {
module: require("./ready"),
ready: "onReady"
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment