Skip to content

Commit 829f402

Browse files
committed
Fixed README
1 parent 964c65d commit 829f402

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ If the `fn` and `needs` properties are not provided, `nwire` will not perform an
110110
111111
`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.
112112
113-
```
113+
```js
114114
// components/header.js
115115
module.exports.needs = ['Vue'];
116116
module.exports.fn = function($) { return $.Vue.component({}); }
117117
```
118-
```
118+
```js
119119
// config.js
120120
module.exports = {
121121
Vue: require('vue'),

0 commit comments

Comments
 (0)