Ver Fonte

Added the lost `repeat` attribute...

Sebastián Katzer há 12 anos atrás
pai
commit
0b44d505fd
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      www/local-notification.js

+ 2 - 1
www/local-notification.js

@@ -20,11 +20,12 @@ LocalNotification.prototype = {
      */
     add: function (options) {
         var defaults = {
-            date:       false,
+            date:       new Date(),
             message:    '',
             title:      '',
             badge:      0,
             id:         0,
+            repeat:     '',
             background: '',
             foreground: ''
         };