Ox.loadFile -> Ox.getFile

This commit is contained in:
rolux 2012-06-17 14:54:50 +02:00
parent c405d007eb
commit f6100c0ea8

View file

@ -193,12 +193,12 @@ appPanel
var prefix = '/static/'; var prefix = '/static/';
if (debug) { if (debug) {
Ox.getJSON(prefix + 'json/pandora.json?' + Ox.random(1000), function(files) { Ox.getJSON(prefix + 'json/pandora.json?' + Ox.random(1000), function(files) {
Ox.loadFile(files.map(function(file) { Ox.getFile(files.map(function(file) {
return prefix + file; return prefix + file;
}), callback); }), callback);
}); });
} else { } else {
Ox.loadFile(prefix + 'js/pandora.min.js', callback); Ox.getFile(prefix + 'js/pandora.min.js', callback);
} }
} }
@ -343,7 +343,7 @@ appPanel
return Ox.PATH + 'Ox.UI/png/browser' + browser.name.replace(' ', '') + '128.png'; return Ox.PATH + 'Ox.UI/png/browser' + browser.name.replace(' ', '') + '128.png';
}), }),
$loadingScreen = $('#loadingScreen'); $loadingScreen = $('#loadingScreen');
Ox.loadFile(images, function() { Ox.getFile(images, function() {
var html = pandora.site.site.name var html = pandora.site.site.name
+ ' requires an up-to-date web browser. Please take a moment to ' + ' requires an up-to-date web browser. Please take a moment to '
+ ( + (