mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-09 07:16:40 +02:00
Small js fixes.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user