2013-09-13 13:50:41 -04:00
|
|
|
// SQLite3 - Cordova (PhoneGap)
|
|
|
|
// ----------
|
2013-09-03 23:02:23 -04:00
|
|
|
(function(define) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
2013-10-24 21:54:35 -04:00
|
|
|
define(function(require, exports, module) {
|
2013-09-03 23:02:23 -04:00
|
|
|
|
|
|
|
var Sqlite3 = require('../base/sqlite3');
|
|
|
|
|
2013-09-03 23:22:02 -04:00
|
|
|
var Cordova = Sqlite3.extend({
|
2013-09-03 23:02:23 -04:00
|
|
|
|
2013-09-03 23:22:02 -04:00
|
|
|
query: function() {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
getConnection: function() {
|
|
|
|
window.openDatabase(/* name, version, display_name, size */);
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
2013-10-24 21:54:35 -04:00
|
|
|
module.exports = Cordova;
|
2013-09-03 23:02:23 -04:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
})(
|
|
|
|
typeof define === 'function' && define.amd ? define : function (factory) { factory(require, exports); }
|
|
|
|
);
|