소스 검색

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