aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-20 10:40:26 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-03-20 10:40:26 -0700
commit5709c2a9aeefef46717ed18bf750bf8b22c3a34c (patch)
tree99eb8907c947f6b9f29cabceae7bc9da96374d55 /src/library.js
parent4b4e8582dd7312062d5d19c7856101aae920ccee (diff)
refactor Browser initialization
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index 382c21ad..aebad63b 100644
--- a/src/library.js
+++ b/src/library.js
@@ -382,7 +382,7 @@ LibraryManager.library = {
// do preloading for the Image/Audio part, as if the typed array were the
// result of an XHR that you did manually.
createPreloadedFile: function(parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile) {
- Browser.ensureObjects();
+ Browser.init();
var fullname = FS.joinPath([parent, name], true);
function processData(byteArray) {
function finish(byteArray) {