js: Upgrade Bane from 0.4.0 to 1.0.0

This commit is contained in:
Stein Magnus Jodal 2013-09-17 00:38:52 +02:00
parent ac8d4b7413
commit 94079be1c6
2 changed files with 4 additions and 4 deletions

View File

@ -3,10 +3,10 @@
*
* https://github.com/busterjs/bane
*
* @version 0.4.0
* @version 1.0.0
*/
((typeof define === "function" && define.amd && function (m) { define(m); }) ||
((typeof define === "function" && define.amd && function (m) { define("bane", m); }) ||
(typeof module === "object" && function (m) { module.exports = m(); }) ||
function (m) { this.bane = m(); }
)(function () {
@ -152,7 +152,7 @@
notifyListener(event, toNotify[i], args);
}
toNotify = listeners(this, event).slice()
toNotify = listeners(this, event).slice();
args = slice.call(arguments, 1);
for (i = 0, l = toNotify.length; i < l; ++i) {
notifyListener(event, toNotify[i], args);

View File

@ -14,7 +14,7 @@
},
"main": "src/mopidy.js",
"dependencies": {
"bane": "~0.4.0",
"bane": "~1.0.0",
"faye-websocket": "~0.4.4",
"when": "~2.0.0"
},