Merge pull request #229 from humphd/global-fix

Fix #228: Uncaught [Filer Error] Your browser doesn't support IndexedDB or WebSQL.
This commit is contained in:
Alan K 2014-06-23 14:35:21 -04:00
commit d38d1d0b6d
4 changed files with 334 additions and 347 deletions

View File

@ -1,4 +1,3 @@
(function(global) {
var FILE_SYSTEM_NAME = require('../constants.js').FILE_SYSTEM_NAME;
var FILE_STORE_NAME = require('../constants.js').FILE_STORE_NAME;
var IDB_RW = require('../constants.js').IDB_RW;
@ -126,5 +125,3 @@
};
module.exports = IndexedDB;
}(this));

View File

@ -1,4 +1,3 @@
(function(global) {
var FILE_SYSTEM_NAME = require('../constants.js').FILE_SYSTEM_NAME;
var FILE_STORE_NAME = require('../constants.js').FILE_STORE_NAME;
var WSQL_VERSION = require('../constants.js').WSQL_VERSION;
@ -157,5 +156,3 @@
};
module.exports = WebSQL;
}(this));

View File

@ -1,4 +1,3 @@
(function(global) {
var Filer = require("../..");
var indexedDB = global.indexedDB ||
@ -52,5 +51,3 @@
}
module.exports = IndexedDBTestProvider;
}(this));

View File

@ -1,5 +1,3 @@
(function(global) {
var Filer = require('../..');
var needsCleanup = [];
@ -43,5 +41,3 @@
}
module.exports = WebSQLTestProvider;
}(this));