fruitmachine-bindall
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -56,5 +56,5 @@ /** | ||
module.exports = function(view) { | ||
view.on('initialize', function() { | ||
view.on('before initialize', function() { | ||
bindAll(view.constructor.prototype, view); | ||
}); | ||
}; |
{ | ||
"name": "fruitmachine-bindall", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A fruitmachine helper that binds all the methods in fruitmachine modules to each instance.", | ||
@@ -11,3 +11,3 @@ "main": "lib/helper.js", | ||
"type": "git", | ||
"url": "git@github.com:ftlabs/fruitmachine-bindAll.git" | ||
"url": "git@github.com:ftlabs/fruitmachine-bindall.git" | ||
}, | ||
@@ -22,4 +22,4 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/ftlabs/fruitmachine-bindAll/issues" | ||
"url": "https://github.com/ftlabs/fruitmachine-bindall/issues" | ||
} | ||
} |
@@ -31,3 +31,3 @@ # fruitmachine-bindAll | ||
name: 'apple', | ||
helpers: [require('fruitmachine-bindAll')], | ||
helpers: [require('fruitmachine-bindall')], | ||
setup: function() { | ||
@@ -34,0 +34,0 @@ this.el.addEventListener('click', this.onButtonClick); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4284