Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added WebOS to supported platforms.

  • Loading branch information...
commit 06e63048ad7bcba5ef6ba288836e530195a71d42 1 parent afe677f
Zef Hemel authored
Showing with 2 additions and 4 deletions.
  1. +1 −0  README.md
  2. +1 −4 persistence.js
View
1  README.md
@@ -16,6 +16,7 @@ Browser support
* Firefox (through Google Gears)
* Android browser (tested on 1.6 and 2.1)
* iPhone browser (iPhone OS 3+)
+* Palm WebOS (tested on 1.4.0)
Internet Explorer is likely not supported (untested) because it
lacks `__defineGetter__` and `__defineSetter__` support, which
View
5 persistence.js
@@ -69,10 +69,7 @@ var persistence = window.persistence || {};
*/
persistence.transaction = function (callback) {
if(!persistence._conn) {
- throw {
- type: "NoActiveDatabase",
- message: "No ongoing database connection, please connect first."
- };
+ throw "No ongoing database connection, please connect first.";
} else {
persistence._conn.transaction(callback);
}
Please sign in to comment.
Something went wrong with that request. Please try again.