You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Angela Fowler (JIRA)" <ji...@apache.org> on 2013/10/24 02:25:42 UTC
[jira] [Created] (CB-5190) Storage API docs Uncaught ReferenceError
Angela Fowler created CB-5190:
---------------------------------
Summary: Storage API docs Uncaught ReferenceError
Key: CB-5190
URL: https://issues.apache.org/jira/browse/CB-5190
Project: Apache Cordova
Issue Type: Bug
Components: Docs
Affects Versions: 3.1.0
Environment: All
Reporter: Angela Fowler
Priority: Trivial
The full example for local storage has an undefined variable "i"
http://cordova.apache.org/docs/en/3.1.0/cordova_storage_storage.md.html#localStorage
10-23 02:34:45.200: E/Web Console(1322): Uncaught ReferenceError: i is not defined at file:///android_asset/www/LocalStorageExample.html:17
...
function onDeviceReady() {
window.localStorage.setItem("key", "value");
var keyname = window.localStorage.key(i);
--
This message was sent by Atlassian JIRA
(v6.1#6144)