Fix DroidGap/lawnchair-adapter-test/www/index.html to omit extra test

This commit is contained in:
Chris Brody 2012-04-09 18:21:52 +02:00
parent 813ba2b8b7
commit 0aff2f23f7

View File

@ -71,6 +71,8 @@ function start1() {
document.addEventListener("deviceready", startTests, false); document.addEventListener("deviceready", startTests, false);
} }
/**
function init1test() { function init1test() {
//alert("alert 0"); //alert("alert 0");
} }
@ -82,6 +84,7 @@ function init1test() {
// PhoneGap is ready // PhoneGap is ready
// //
function onDeviceReady() { function onDeviceReady() {
//var db = window.sqlitePlugin.openDatabase("Database", "1.0", "PhoneGap Demo", 200000);
var db = window.my_openDatabase("Database", "1.0", "PhoneGap Demo", 200000); var db = window.my_openDatabase("Database", "1.0", "PhoneGap Demo", 200000);
db.transaction(function(tx) { db.transaction(function(tx) {
@ -135,6 +138,7 @@ alert("a 7");
function successCB() { function successCB() {
alert("success!"); alert("success!");
} }
**/
</script> </script>