reorganized for building
This commit is contained in:
parent
45fdb7aa66
commit
e17acff0b1
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
var IDBFS = require( "src/fs" );
|
var IDBFS = require( "src/index" );
|
||||||
|
|
||||||
return IDBFS;
|
return IDBFS;
|
||||||
|
|
||||||
|
|
|
@ -4054,7 +4054,7 @@ define('src/adapters/adapters',['require','src/adapters/crypto','src/adapters/zl
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
define('src/fs',['require','nodash','encoding','src/path','src/path','src/path','src/shared','src/shared','src/shared','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/providers/providers','src/adapters/adapters','src/path'],function(require) {
|
define('src/fs',['require','nodash','encoding','src/path','src/path','src/path','src/shared','src/shared','src/shared','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/error','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/constants','src/providers/providers','src/adapters/adapters'],function(require) {
|
||||||
|
|
||||||
var _ = require('nodash');
|
var _ = require('nodash');
|
||||||
|
|
||||||
|
@ -5952,14 +5952,21 @@ define('src/fs',['require','nodash','encoding','src/path','src/path','src/path',
|
||||||
if(error) callback(error);
|
if(error) callback(error);
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return FileSystem;
|
||||||
FileSystem: FileSystem,
|
|
||||||
Path: require('src/path')
|
|
||||||
};
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var IDBFS = require( "src/fs" );
|
define('src/index',['require','src/fs','src/fs','src/path'],function(require) {
|
||||||
|
|
||||||
|
var fs = require('src/fs');
|
||||||
|
|
||||||
|
return {
|
||||||
|
FileSystem: require('src/fs'),
|
||||||
|
Path: require('src/path')
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
var IDBFS = require( "src/index" );
|
||||||
|
|
||||||
return IDBFS;
|
return IDBFS;
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -37,7 +37,7 @@ module.exports = function(grunt) {
|
||||||
},
|
},
|
||||||
baseUrl: "lib",
|
baseUrl: "lib",
|
||||||
name: "build/almond",
|
name: "build/almond",
|
||||||
include: ["src/fs"],
|
include: ["src/index"],
|
||||||
out: "dist/idbfs.js",
|
out: "dist/idbfs.js",
|
||||||
optimize: "none",
|
optimize: "none",
|
||||||
wrap: {
|
wrap: {
|
||||||
|
|
|
@ -1896,9 +1896,6 @@ define(function(require) {
|
||||||
if(error) callback(error);
|
if(error) callback(error);
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return FileSystem;
|
||||||
FileSystem: FileSystem,
|
|
||||||
Path: require('src/path')
|
|
||||||
};
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
define(function(require) {
|
||||||
|
|
||||||
|
var fs = require('src/fs');
|
||||||
|
|
||||||
|
return {
|
||||||
|
FileSystem: require('src/fs'),
|
||||||
|
Path: require('src/path')
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
|
@ -8,7 +8,7 @@ require.config({
|
||||||
"tests": "../tests",
|
"tests": "../tests",
|
||||||
"src": "../src",
|
"src": "../src",
|
||||||
"spec": "../tests/spec",
|
"spec": "../tests/spec",
|
||||||
"IDBFS": "../src/fs"
|
"IDBFS": "../src/index"
|
||||||
},
|
},
|
||||||
baseUrl: "../lib",
|
baseUrl: "../lib",
|
||||||
optimize: "none",
|
optimize: "none",
|
||||||
|
|
Loading…
Reference in New Issue