WIP
This commit is contained in:
parent
580dad5315
commit
5bef87490c
|
@ -20,7 +20,7 @@ require(["src/file-system"], function(IDBFS) {
|
||||||
var flags = 'FORMAT';
|
var flags = 'FORMAT';
|
||||||
//var flags = undefined;
|
//var flags = undefined;
|
||||||
|
|
||||||
var fs = new IDBFS.FileSystem('test', flags);
|
var fs = new IDBFS.FileSystem('local', flags);
|
||||||
fs.promise.otherwise(
|
fs.promise.otherwise(
|
||||||
function(error) {
|
function(error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
<script src="IndexedDBViewer.js"></script>
|
<script src="IndexedDBViewer.js"></script>
|
||||||
<body>
|
<body>
|
||||||
<div id="stdout"></div>
|
<div id="stdout"></div>
|
||||||
<div id="indexedDBViewer" data-dbName="test"></div>
|
<div id="indexedDBViewer" data-dbName="local"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -25,6 +25,7 @@ define(function(require) {
|
||||||
var IDB_RW = require('src/constants').IDB_RW;
|
var IDB_RW = require('src/constants').IDB_RW;
|
||||||
var IDB_RO = require('src/constants').IDB_RO;
|
var IDB_RO = require('src/constants').IDB_RO;
|
||||||
var FILE_STORE_NAME = require('src/constants').FILE_STORE_NAME;
|
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_READY = require('src/constants').READY;
|
||||||
var FS_PENDING = require('src/constants').FS_PENDING;
|
var FS_PENDING = require('src/constants').FS_PENDING;
|
||||||
var FS_ERROR = require('src/constants').FS_ERROR;
|
var FS_ERROR = require('src/constants').FS_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue