Fix jshint

This commit is contained in:
Sébastien Lucas 2014-02-06 21:30:06 +01:00
parent 0cf1383db0
commit 6b9944796e

View file

@ -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'),