Created
March 30, 2015 14:06
-
-
Save foxdonut/be8f6b26e95622f40134 to your computer and use it in GitHub Desktop.
wire with require and extend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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