2 var library = function() {
4 this.initialized = false;
7 this.initialize = function() {
11 window.requestFileSystem =
12 window.requestFileSystem ||
13 window.webkitRequestFileSystem;
15 if (window.requestFileSystem === undefined) {
16 throw Error("Your browser doesn't support file system " +
21 this.load = function() {
23 if (this.root === undefined) {
24 throw Error("Root directory is not defined");
30 set root(value) { this._root = value; },
31 get root() { return this._root; },
33 set initialized(value) {this._initialized = value; },
34 get initialized() { return this._initialized; }
37 window.HoofbeatsLibrary = library;