Explorar el Código

fixed reference error when calling un function (#847)

removed unused ‘scope’ variable from un function.
Lenny Kean hace 9 años
padre
commit
d9ac383bcc
Se han modificado 1 ficheros con 1 adiciones y 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);
 };