Explorar el Código

Fix invalid JSON example

Sebastián Katzer hace 11 años
padre
commit
c707a2eb2c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -212,7 +212,7 @@ window.plugin.notification.local.onadd = function (id, state, json) {};
 window.plugin.notification.local.add({
     id:         1,
     message:    'I love BlackBerry!',
-    json:       { test: 123 }
+    json:       JSON.stringify({ test: 123 })
 });
 
 window.plugin.notification.local.onclick = function (id, state, json) {