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();
|
var deferred = new $.Deferred();
|
||||||
$.when.apply($, deferreds).then(function()
|
$.when.apply($, deferreds).then(function()
|
||||||
{
|
{
|
||||||
console.log(arguments);
|
|
||||||
deferred.resolve(Array.prototype.slice.call(arguments, 0));
|
deferred.resolve(Array.prototype.slice.call(arguments, 0));
|
||||||
}, function()
|
}, function()
|
||||||
{
|
{
|
||||||
console.log(arguments);
|
|
||||||
deferred.fail(Array.prototype.slice.call(arguments, 0));
|
deferred.fail(Array.prototype.slice.call(arguments, 0));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -30,14 +30,14 @@ class Bootstrap
|
||||||
$this->context->title = $this->config->main->title;
|
$this->context->title = $this->config->main->title;
|
||||||
$this->context->stylesheets =
|
$this->context->stylesheets =
|
||||||
[
|
[
|
||||||
|
'../lib/jquery-ui/jquery-ui.css',
|
||||||
'core.css',
|
'core.css',
|
||||||
'../lib/jquery-ui/jquery-ui.css'
|
|
||||||
];
|
];
|
||||||
$this->context->scripts =
|
$this->context->scripts =
|
||||||
[
|
[
|
||||||
'core.js',
|
|
||||||
'../lib/jquery/jquery.min.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'])
|
$this->context->layoutName = isset($_GET['json'])
|
||||||
|
|
Loading…
Reference in a new issue