mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Fix database for Android 1.x devices. It now behaves like HTML5 database API.
This commit is contained in:
@@ -316,7 +316,9 @@ PhoneGap.stringify = function(args) {
|
||||
s = s + '}';
|
||||
}
|
||||
else {
|
||||
s = s + '"' + args[i] + '"';
|
||||
var a = args[i].replace(/\\/g, '\\\\');
|
||||
a = a.replace(/"/g, '\\"');
|
||||
s = s + '"' + a + '"';
|
||||
}
|
||||
}
|
||||
s = s + "]";
|
||||
|
||||
Reference in New Issue
Block a user