瀏覽代碼

Refactored default values

Sebastián Katzer 12 年之前
父節點
當前提交
f08726fc3d
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      www/local-notification.js

+ 2 - 3
www/local-notification.js

@@ -21,11 +21,10 @@ LocalNotification.prototype = {
         var defaults = {
             date:       false,
             message:    '',
-            hasAction:  true,
-            action:     'View',
+            title:      '',
             badge:      0,
             id:         0,
-            sound:      '',
+            sound:      '', // nur iOS
             background: '',
             foreground: ''
         };