From 829f402f49daf283506d4a05101dc1711a234bd5 Mon Sep 17 00:00:00 2001 From: Dexter Miguel Date: Sat, 6 Feb 2016 22:31:43 -0500 Subject: [PATCH] Fixed README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86ff305..2265c3c 100644 --- a/README.md +++ b/README.md @@ -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'),