mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-09 23:36:43 +02:00
Small js fixes.
This commit is contained in:
@@ -58,8 +58,8 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="lint" depends="build-prepare">
|
<target name="lint" depends="build-prepare">
|
||||||
<wepp file="${build.dir}/_h5ai/js/main-js.js" tofile="${build.dir}/_h5ai/js/main-js.js" />
|
<wepp file="${build.dir}/_h5ai/js/main.js" tofile="${build.dir}/_h5ai/js/main.js" />
|
||||||
<jslint files="${build.dir}/_h5ai/js/main-js.js" />
|
<jslint files="${build.dir}/_h5ai/js/main.js" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
@@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
init: init
|
init: init
|
||||||
}
|
};
|
||||||
}())
|
}());
|
||||||
|
|
||||||
}(jQuery, H5AI));
|
}(jQuery, H5AI));
|
@@ -79,7 +79,7 @@
|
|||||||
return {
|
return {
|
||||||
init: init,
|
init: init,
|
||||||
filter: filter
|
filter: filter
|
||||||
}
|
};
|
||||||
}())
|
}());
|
||||||
|
|
||||||
}(jQuery, H5AI));
|
}(jQuery, H5AI));
|
@@ -1,9 +1,8 @@
|
|||||||
/*jslint browser: true, confusion: true, regexp: true, white: true */
|
|
||||||
/*jshint browser: true, confusion: true, regexp: false, white: false */
|
|
||||||
/*global jQuery, amplify, H5AI_CONFIG */
|
|
||||||
|
|
||||||
(function ($) {
|
(function ($) {
|
||||||
"use strict";
|
'use strict';
|
||||||
|
/*jslint browser: true, confusion: true, regexp: true, vars: true, white: true */
|
||||||
|
/*global Modernizr, jQuery, amplify, H5AI_CONFIG */
|
||||||
|
|
||||||
var H5AI = {};
|
var H5AI = {};
|
||||||
|
|
||||||
@@ -34,7 +33,7 @@
|
|||||||
H5AI.context.init();
|
H5AI.context.init();
|
||||||
|
|
||||||
if (isPhp) {
|
if (isPhp) {
|
||||||
$("#tree").scrollpanel();
|
$('#tree').scrollpanel();
|
||||||
H5AI.core.shiftTree(false, true);
|
H5AI.core.shiftTree(false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user