filer/examples/test.html

23 lines
472 B
HTML
Raw Normal View History

2012-10-07 05:42:58 +00:00
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
</head>
<script src="../lib/require.js"></script>
<script>
require.config({
baseUrl: "../lib",
paths: {
"src": "../src"
}
});
require(["../../javascript-debug/debug", "src/filesystem"], function(debug, FileSystem) {
var fs = new FileSystem(undefined, true);
debug.log("filesystem state: ", fs.state);
fs.then(function(fs) {
debug.log("filesystem state: ", fs.state);
});
});
</script>
</html>