Permalink
Browse files

Added WebOS to supported platforms.

  • Loading branch information...
Zef Hemel Zef Hemel
Zef Hemel authored and Zef Hemel committed Mar 8, 2010
1 parent afe677f commit 06e63048ad7bcba5ef6ba288836e530195a71d42
Showing with 2 additions and 4 deletions.
  1. +1 −0 README.md
  2. +1 −4 persistence.js
View
@@ -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
@@ -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);
}

0 comments on commit 06e6304

Please sign in to comment.