mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-28 14:04:45 -04:00
Reduces number of HTTP requests.
This commit is contained in:
parent
6901044518
commit
749a87eaf7
4 changed files with 21 additions and 22 deletions
|
@ -1,42 +0,0 @@
|
|||
|
||||
(function ($) {
|
||||
'use strict';
|
||||
/*jslint browser: true, confusion: true, regexp: true, vars: true, white: true */
|
||||
/*global Modernizr, jQuery, amplify, H5AI_CONFIG */
|
||||
|
||||
var H5AI = {};
|
||||
|
||||
// @include "inc/Util.js"
|
||||
// @include "inc/Core.js"
|
||||
// @include "inc/Sort.js"
|
||||
// @include "inc/ZippedDownload.js"
|
||||
// @include "inc/Finder.js"
|
||||
// @include "inc/Context.js"
|
||||
|
||||
// @include "inc/Path.js"
|
||||
// @include "inc/Connector.js"
|
||||
// @include "inc/Html.js"
|
||||
// @include "inc/Extended.js"
|
||||
|
||||
$(function () {
|
||||
|
||||
var isPhp = $('html.h5ai-php').length > 0;
|
||||
|
||||
if (!isPhp) {
|
||||
H5AI.extended.init();
|
||||
}
|
||||
|
||||
H5AI.core.init();
|
||||
H5AI.sort.init();
|
||||
H5AI.finder.init();
|
||||
H5AI.zippedDownload.init();
|
||||
H5AI.context.init();
|
||||
|
||||
if (isPhp) {
|
||||
$('#tree').scrollpanel();
|
||||
H5AI.core.shiftTree(false, true);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}(jQuery));
|
Loading…
Add table
Add a link
Reference in a new issue