Преглед изворни кода

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);
 };