mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-29 06:25:18 -04:00
Small js fixes.
This commit is contained in:
parent
b39fbb8dc0
commit
6901044518
4 changed files with 10 additions and 11 deletions
|
@ -58,8 +58,8 @@
|
|||
</target>
|
||||
|
||||
<target name="lint" depends="build-prepare">
|
||||
<wepp file="${build.dir}/_h5ai/js/main-js.js" tofile="${build.dir}/_h5ai/js/main-js.js" />
|
||||
<jslint files="${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" />
|
||||
</target>
|
||||
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
return {
|
||||
init: init
|
||||
}
|
||||
}())
|
||||
};
|
||||
}());
|
||||
|
||||
}(jQuery, H5AI));
|
|
@ -79,7 +79,7 @@
|
|||
return {
|
||||
init: init,
|
||||
filter: filter
|
||||
}
|
||||
}())
|
||||
};
|
||||
}());
|
||||
|
||||
}(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 ($) {
|
||||
"use strict";
|
||||
'use strict';
|
||||
/*jslint browser: true, confusion: true, regexp: true, vars: true, white: true */
|
||||
/*global Modernizr, jQuery, amplify, H5AI_CONFIG */
|
||||
|
||||
var H5AI = {};
|
||||
|
||||
|
@ -34,7 +33,7 @@
|
|||
H5AI.context.init();
|
||||
|
||||
if (isPhp) {
|
||||
$("#tree").scrollpanel();
|
||||
$('#tree').scrollpanel();
|
||||
H5AI.core.shiftTree(false, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue