Explorar el Código

Added the lost `repeat` attribute...

Sebastián Katzer hace 12 años
padre
commit
0b44d505fd
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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: ''
         };