mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-28 14:04:45 -04:00
Adds optional QRCodes and filtering for displayed files.
This commit is contained in:
parent
bc6e9fb150
commit
6bfbdb4d05
18 changed files with 1991 additions and 46 deletions
43
src/_h5ai/js/main.js
Normal file
43
src/_h5ai/js/main.js
Normal file
|
@ -0,0 +1,43 @@
|
|||
/*jslint browser: true, confusion: true, regexp: true, white: true */
|
||||
/*jshint browser: true, confusion: true, regexp: false, white: false */
|
||||
/*global jQuery, amplify, H5AI_CONFIG */
|
||||
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
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