Skip to content

Commit

Permalink
Fixed README
Browse files Browse the repository at this point in the history
  • Loading branch information
divmgl committed Feb 7, 2016
1 parent 964c65d commit 829f402
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ If the `fn` and `needs` properties are not provided, `nwire` will not perform an
`nwire` will recursively look for packages that implement `fn` and `needs` which will allow you to perform dependency injection on nested objects. It will also inject packages from the parent scope.
```
```js
// components/header.js
module.exports.needs = ['Vue'];
module.exports.fn = function($) { return $.Vue.component({}); }
```
```
```js
// config.js
module.exports = {
Vue: require('vue'),
Expand Down

0 comments on commit 829f402

Please sign in to comment.