Explorar o código

fixed reference error when calling un function (#847)

removed unused ‘scope’ variable from un function.
Lenny Kean %!s(int64=9) %!d(string=hai) anos
pai
achega
d9ac383bcc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      www/local-notification.js

+ 1 - 1
www/local-notification.js

@@ -372,5 +372,5 @@ exports.on = function (event, callback, scope) {
  *      The function to be exec as callback
  */
 exports.un = function (event, callback) {
-    this.core.un(event, callback, scope);
+    this.core.un(event, callback);
 };