Преглед на файлове

fixed reference error when calling un function (#847)

removed unused ‘scope’ variable from un function.
Lenny Kean преди 9 години
родител
ревизия
d9ac383bcc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);
 };