This commit is contained in:
Alan Kligman 2013-05-31 11:30:01 -04:00
parent 580dad5315
commit 5bef87490c
3 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ require(["src/file-system"], function(IDBFS) {
var flags = 'FORMAT';
//var flags = undefined;
var fs = new IDBFS.FileSystem('test', flags);
var fs = new IDBFS.FileSystem('local', flags);
fs.promise.otherwise(
function(error) {
console.error(error);

View File

@ -9,6 +9,6 @@
<script src="IndexedDBViewer.js"></script>
<body>
<div id="stdout"></div>
<div id="indexedDBViewer" data-dbName="test"></div>
<div id="indexedDBViewer" data-dbName="local"></div>
</body>
</html>

View File

@ -25,6 +25,7 @@ define(function(require) {
var IDB_RW = require('src/constants').IDB_RW;
var IDB_RO = require('src/constants').IDB_RO;
var FILE_STORE_NAME = require('src/constants').FILE_STORE_NAME;
var METADATA_STORE_NAME = require('src/constants').METADATA_STORE_NAME;
var FS_READY = require('src/constants').READY;
var FS_PENDING = require('src/constants').FS_PENDING;
var FS_ERROR = require('src/constants').FS_ERROR;