Commit d9ac383b by Lenny Kean Committed by Sebastián Katzer

fixed reference error when calling un function (#847)

removed unused ‘scope’ variable from un function.
parent 3e611de2
...@@ -372,5 +372,5 @@ exports.on = function (event, callback, scope) { ...@@ -372,5 +372,5 @@ exports.on = function (event, callback, scope) {
* The function to be exec as callback * The function to be exec as callback
*/ */
exports.un = function (event, callback) { exports.un = function (event, callback) {
this.core.un(event, callback, scope); this.core.un(event, callback);
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment