Fixed JS order, removed misplaced debug

This commit is contained in:
Marcin Kurczewski 2013-10-09 21:31:38 +02:00
parent f71a4c6bbe
commit 35e097d0ce
2 changed files with 3 additions and 5 deletions

View file

@ -5,11 +5,9 @@ if ($.when.all === undefined)
var deferred = new $.Deferred();
$.when.apply($, deferreds).then(function()
{
console.log(arguments);
deferred.resolve(Array.prototype.slice.call(arguments, 0));
}, function()
{
console.log(arguments);
deferred.fail(Array.prototype.slice.call(arguments, 0));
});

View file

@ -30,14 +30,14 @@ class Bootstrap
$this->context->title = $this->config->main->title;
$this->context->stylesheets =
[
'../lib/jquery-ui/jquery-ui.css',
'core.css',
'../lib/jquery-ui/jquery-ui.css'
];
$this->context->scripts =
[
'core.js',
'../lib/jquery/jquery.min.js',
'../lib/jquery-ui/jquery-ui.min.js'
'../lib/jquery-ui/jquery-ui.min.js',
'core.js',
];
$this->context->layoutName = isset($_GET['json'])