Fixed JS order, removed misplaced debug
This commit is contained in:
parent
f71a4c6bbe
commit
35e097d0ce
2 changed files with 3 additions and 5 deletions
|
@ -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));
|
||||
});
|
||||
|
||||
|
|
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue