From fb952049170f6218c5757902a299e20612312751 Mon Sep 17 00:00:00 2001 From: Diyahon Date: Mon, 15 Feb 2016 12:53:56 +0600 Subject: [PATCH 1/4] Create index.js Add index.js --- index.js | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 0000000..02f145f --- /dev/null +++ b/index.js @@ -0,0 +1,2 @@ +require('bindonce.js'); +module.exports = 'bindonce'; From 070ef6f91e350c20e6690474646d9c3d468613e8 Mon Sep 17 00:00:00 2001 From: Diyahon Date: Mon, 15 Feb 2016 12:54:16 +0600 Subject: [PATCH 2/4] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9242594..afa59ef 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "angular-bindonce", "version": "0.3.3", - "main": "bindonce.js", + "main": "index.js", "description": "Zero watchers binding directives for AngularJS", "homepage": "https://github.com/Pasvaz/bindonce", "author": "Pasquale Vazzana ", From a3dde78fa6d3f70deaf6b47a04f42c0ea8dc115a Mon Sep 17 00:00:00 2001 From: Diyahon Date: Mon, 15 Feb 2016 13:04:50 +0600 Subject: [PATCH 3/4] Update index.js Correct name module --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 02f145f..abb4739 100644 --- a/index.js +++ b/index.js @@ -1,2 +1,2 @@ require('bindonce.js'); -module.exports = 'bindonce'; +module.exports = 'pasvaz.bindonce'; From f55ff27d3a26562793c3f367bcef859397928b4a Mon Sep 17 00:00:00 2001 From: Diyahon Date: Mon, 15 Feb 2016 13:20:20 +0600 Subject: [PATCH 4/4] Update index.js correct path include module --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index abb4739..f56c192 100644 --- a/index.js +++ b/index.js @@ -1,2 +1,2 @@ -require('bindonce.js'); +require('./bindonce.js'); module.exports = 'pasvaz.bindonce';