Parcourir la source

Added the lost `repeat` attribute...

Sebastián Katzer il y a 12 ans
Parent
commit
0b44d505fd
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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: ''
         };