Small js fixes.

This commit is contained in:
Lars Jung 2012-02-20 15:08:29 +01:00
parent b39fbb8dc0
commit 6901044518
4 changed files with 10 additions and 11 deletions

View file

@ -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>

View file

@ -49,7 +49,7 @@
return {
init: init
}
}())
};
}());
}(jQuery, H5AI));

View file

@ -79,7 +79,7 @@
return {
init: init,
filter: filter
}
}())
};
}());
}(jQuery, H5AI));

View file

@ -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);
}