remove some whitespace

This commit is contained in:
rolux 2012-12-29 17:54:58 +01:00
parent 6f4a928bf3
commit 7f76d596ba

View file

@ -103,7 +103,7 @@ Ox.load.UI = function(options, callback) {
}) })
.appendTo(body); .appendTo(body);
browserSupported ? showIcon() : showWarning(); browserSupported ? showIcon() : showWarning();
function showIcon() { function showIcon() {
/* /*
@ -169,7 +169,7 @@ Ox.load.UI = function(options, callback) {
browsers = browsers.filter(function(browser) { browsers = browsers.filter(function(browser) {
return browser.url; return browser.url;
}); });
isInternetExplorer ? browsers.pop() : browsers.shift(); isInternetExplorer ? browsers.pop() : browsers.shift();
browsers.forEach(function(browser) { browsers.forEach(function(browser) {
browser.src = Ox.PATH + 'Ox.UI/png/browser' + browser.name.replace(' ', '') + '128.png'; browser.src = Ox.PATH + 'Ox.UI/png/browser' + browser.name.replace(' ', '') + '128.png';
Ox.getFile(browser.src, function() { Ox.getFile(browser.src, function() {
@ -293,7 +293,7 @@ Ox.load.UI = function(options, callback) {
if (Ox.$window) { if (Ox.$window) {
callback(); callback();
} else { } else {
callbacks.push(callback); callbacks.push(callback);
} }
} }
}()); }());
@ -449,7 +449,7 @@ Ox.load.UI = function(options, callback) {
outer.remove(); outer.remove();
return width; return width;
})(); })();
//@ Ox.UI.getBarSize <s> get bar size by name //@ Ox.UI.getBarSize <s> get bar size by name
// fixme: the follwing should be deprecated // fixme: the follwing should be deprecated
Ox.UI.getBarSize = function(size) { Ox.UI.getBarSize = function(size) {
var sizes = { var sizes = {