Fix jshint
This commit is contained in:
parent
0cf1383db0
commit
6b9944796e
3
util.js
3
util.js
|
@ -3,7 +3,7 @@
|
||||||
// https://github.com/seblucas/cops
|
// https://github.com/seblucas/cops
|
||||||
|
|
||||||
/*jshint curly: true, latedef: true, trailing: true, noarg: true, undef: true, browser: true, jquery: true, unused: true, devel: true, loopfunc: true */
|
/*jshint curly: true, latedef: true, trailing: true, noarg: true, undef: true, browser: true, jquery: true, unused: true, devel: true, loopfunc: true */
|
||||||
/*global LRUCache */
|
/*global LRUCache, doT */
|
||||||
|
|
||||||
var templatePage, templateBookDetail, templateMain, templateSuggestion, currentData, before, filterList;
|
var templatePage, templateBookDetail, templateMain, templateSuggestion, currentData, before, filterList;
|
||||||
|
|
||||||
|
@ -441,6 +441,7 @@ $(document).keydown(function(e){
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/*exported initiateAjax */
|
||||||
function initiateAjax (url, theme) {
|
function initiateAjax (url, theme) {
|
||||||
$.when($.get('templates/' + theme + '/header.html'),
|
$.when($.get('templates/' + theme + '/header.html'),
|
||||||
$.get('templates/' + theme + '/footer.html'),
|
$.get('templates/' + theme + '/footer.html'),
|
||||||
|
|
Loading…
Reference in a new issue