less errors in opera

This commit is contained in:
rlx 2011-09-03 15:25:32 +00:00
parent 48921b533e
commit ded4413ec3
3 changed files with 2 additions and 2 deletions

View file

@ -32,6 +32,7 @@ Ox.load('UI', {
requests: {}, requests: {},
ui: {} ui: {}
}); });
loadResources('/static/json/pandora.json', function() { loadResources('/static/json/pandora.json', function() {
Ox.print('Ox.App load', data); Ox.print('Ox.App load', data);
@ -121,10 +122,10 @@ Ox.load('UI', {
return; return;
} }
var dfd = new $.Deferred(); var dfd = new $.Deferred();
promises.push(dfd.promise());
Ox.loadFile(prefix + file, function() { Ox.loadFile(prefix + file, function() {
dfd.resolve(); dfd.resolve();
}); });
promises.push(dfd.promise());
}); });
$.when.apply(null, promises) $.when.apply(null, promises)
.done(function() { .done(function() {

View file

@ -11,7 +11,6 @@
"js/pandora/ui/group.js", "js/pandora/ui/group.js",
"js/pandora/ui/toolbar.js", "js/pandora/ui/toolbar.js",
"js/pandora/ui/statusbar.js", "js/pandora/ui/statusbar.js",
"js/pandora/ui/player.js",
"js/pandora/ui/sectionButtons.js", "js/pandora/ui/sectionButtons.js",
"js/pandora/ui/item.js", "js/pandora/ui/item.js",
"js/pandora/ui/folderBrowser.js", "js/pandora/ui/folderBrowser.js",