diff --git a/themes/bootstrap3/js/advanced_search.js b/themes/bootstrap3/js/advanced_search.js index e174fafb944600a589a9f0cbc10774ceef1ee6bf..af944a0c8820df20791938079d150fb5e387a1a0 100644 --- a/themes/bootstrap3/js/advanced_search.js +++ b/themes/bootstrap3/js/advanced_search.js @@ -1,4 +1,4 @@ -/* exported addGroup, addSearch, deleteGroup, deleteSearch */ +/*exported addGroup, addSearch, deleteGroup, deleteSearch */ var nextGroup = 0; var groupLength = []; diff --git a/themes/bootstrap3/js/autocomplete.js b/themes/bootstrap3/js/autocomplete.js index 5e698fd2fe3123f098b366ed892432dd72368e65..7055637f15e6222ea79b2931a2a5fa1b5a94b3da 100644 --- a/themes/bootstrap3/js/autocomplete.js +++ b/themes/bootstrap3/js/autocomplete.js @@ -1,4 +1,4 @@ -/* global jQuery, window, document, console, setTimeout, clearTimeout */ +/*global jQuery, window, document, console, setTimeout, clearTimeout */ /** * crhallberg/autocomplete.js 0.15.1 * ~ @crhallberg diff --git a/themes/bootstrap3/js/cart.js b/themes/bootstrap3/js/cart.js index 79b81fd33dc342bc852eea697a1e858acabbd475..c70291916eb91e3e12a7c2f588d13417621f9188 100644 --- a/themes/bootstrap3/js/cart.js +++ b/themes/bootstrap3/js/cart.js @@ -1,5 +1,5 @@ -/* global Cookies, VuFind, setTimeout, clearTimeout */ -/* exported cartFormHandler */ +/*global Cookies, VuFind, setTimeout, clearTimeout */ +/*exported cartFormHandler */ VuFind.register('cart', function Cart() { var _COOKIE = 'vufind_cart'; diff --git a/themes/bootstrap3/js/check_item_statuses.js b/themes/bootstrap3/js/check_item_statuses.js index 75e1c17a269207486cd5b38f84b1d5a5e9ad7e9a..985427d4e5a39c9b40a14bb7cbe8b5a935ae4156 100644 --- a/themes/bootstrap3/js/check_item_statuses.js +++ b/themes/bootstrap3/js/check_item_statuses.js @@ -1,4 +1,4 @@ -/* global VuFind */ +/*global VuFind */ function checkItemStatuses(_container) { var container = _container || $('body'); diff --git a/themes/bootstrap3/js/check_save_statuses.js b/themes/bootstrap3/js/check_save_statuses.js index 2a9d1ec8ea5aae941d5c36fcab567d557c995519..3a3ca5512e1506ce2398d213871ad183afc98291 100644 --- a/themes/bootstrap3/js/check_save_statuses.js +++ b/themes/bootstrap3/js/check_save_statuses.js @@ -1,4 +1,4 @@ -/* global htmlEncode, VuFind, userIsLoggedIn */ +/*global htmlEncode, VuFind, userIsLoggedIn */ function checkSaveStatuses(_container) { if (!userIsLoggedIn) { diff --git a/themes/bootstrap3/js/combined-search.js b/themes/bootstrap3/js/combined-search.js index 2a4f9b71da4e63ad3383f58721fed7bc62588547..dd4c75d9117eb51142b04e646f50ccf42edc8fba 100644 --- a/themes/bootstrap3/js/combined-search.js +++ b/themes/bootstrap3/js/combined-search.js @@ -1,4 +1,4 @@ -/* global VuFind, checkItemStatuses, checkSaveStatuses */ +/*global VuFind, checkItemStatuses, checkSaveStatuses */ VuFind.combinedSearch = (function CombinedSearch() { var init = function init(container, url) { container.load(url, '', function containerLoad(responseText) { diff --git a/themes/bootstrap3/js/common.js b/themes/bootstrap3/js/common.js index 5b6c6555a4c8b520e968bd0fee97ab0a6704567d..897e38d69936cfe9ac381a60cf23674cf5aaa2a3 100644 --- a/themes/bootstrap3/js/common.js +++ b/themes/bootstrap3/js/common.js @@ -1,5 +1,5 @@ -/* global isPhoneNumberValid, unescape */ -/* exported VuFind, htmlEncode, deparam, moreFacets, lessFacets, phoneNumberFormHandler, bulkFormHandler */ +/*global isPhoneNumberValid, unescape */ +/*exported VuFind, htmlEncode, deparam, moreFacets, lessFacets, phoneNumberFormHandler, bulkFormHandler */ // IE 9< console polyfill window.console = window.console || {log: function polyfillLog() {}}; diff --git a/themes/bootstrap3/js/embedGBS.js b/themes/bootstrap3/js/embedGBS.js index 1388dd1d57f5b87b636c92c65b97c866427f0a7e..515a6fca77b7be78268304c174d0c782592808f2 100644 --- a/themes/bootstrap3/js/embedGBS.js +++ b/themes/bootstrap3/js/embedGBS.js @@ -1,4 +1,4 @@ -/* global getBibKeyString, google */ +/*global getBibKeyString, google */ // we don't need to wait for dom ready since lang is in the dom root var lang = document.documentElement.getAttribute('lang'); diff --git a/themes/bootstrap3/js/embedded_record.js b/themes/bootstrap3/js/embedded_record.js index 2040a5c1d9ef0642d369162f1e953a57f7ce7c1d..396efc5bb62073fdf9772198168621bcca129f4f 100644 --- a/themes/bootstrap3/js/embedded_record.js +++ b/themes/bootstrap3/js/embedded_record.js @@ -1,4 +1,4 @@ -/* global checkSaveStatuses, sessionStorage, registerAjaxCommentRecord, registerTabEvents, syn_get_widget, VuFind */ +/*global checkSaveStatuses, sessionStorage, registerAjaxCommentRecord, registerTabEvents, syn_get_widget, VuFind */ VuFind.register('embedded', function embedded() { var _STORAGEKEY = 'vufind_search_open'; var _SEPERATOR = ':::'; diff --git a/themes/bootstrap3/js/facets.js b/themes/bootstrap3/js/facets.js index c29dbeefdc413fbcc4769b6eafd2ac125a3f7216..b9ea423f155199c0f95071c3852fd9a35f4f96f4 100644 --- a/themes/bootstrap3/js/facets.js +++ b/themes/bootstrap3/js/facets.js @@ -1,5 +1,5 @@ -/* global htmlEncode, VuFind */ -/* exported initFacetTree */ +/*global htmlEncode, VuFind */ +/*exported initFacetTree */ function buildFacetNodes(data, currentPath, allowExclude, excludeTitle, counts) { var json = []; diff --git a/themes/bootstrap3/js/hierarchyTree.js b/themes/bootstrap3/js/hierarchyTree.js index 3acdf3e48b30b4b228c0d52db2c220ab6a282511..316d26ddd47ba152db06d548b32c7b2e21b6ee28 100644 --- a/themes/bootstrap3/js/hierarchyTree.js +++ b/themes/bootstrap3/js/hierarchyTree.js @@ -1,4 +1,4 @@ -/* global VuFind */ +/*global VuFind */ var hierarchyID, recordID, htmlID, hierarchyContext; diff --git a/themes/bootstrap3/js/hold.js b/themes/bootstrap3/js/hold.js index 0f3cb34b34dad83819ceef6350e937e65d452bbd..73ca8e613d90f2a15a5675fae8c6302bf48f4fed 100644 --- a/themes/bootstrap3/js/hold.js +++ b/themes/bootstrap3/js/hold.js @@ -1,5 +1,5 @@ -/* global VuFind */ -/* exported setUpHoldRequestForm */ +/*global VuFind */ +/*exported setUpHoldRequestForm */ function setUpHoldRequestForm(recordId) { $('#requestGroupId').change(function requestGroupChange() { var $emptyOption = $("#pickUpLocation option[value='']"); diff --git a/themes/bootstrap3/js/ill.js b/themes/bootstrap3/js/ill.js index 0817e027fcbda385dc29ffaf4010492239cae7fd..bafc8f371f88152f5d74fbc991b223e72015ec27 100644 --- a/themes/bootstrap3/js/ill.js +++ b/themes/bootstrap3/js/ill.js @@ -1,5 +1,5 @@ -/* global VuFind */ -/* exported setUpILLRequestForm */ +/*global VuFind */ +/*exported setUpILLRequestForm */ function setUpILLRequestForm(recordId) { $("#ILLRequestForm #pickupLibrary").change(function illPickupChange() { $("#ILLRequestForm #pickupLibraryLocation option").remove(); diff --git a/themes/bootstrap3/js/keep_alive.js b/themes/bootstrap3/js/keep_alive.js index 9bef1a9ef6c74d7c9a29098efef7584ca754c1e0..65a7e252f16c52d36e67a6ab825fb0960bb7f33b 100644 --- a/themes/bootstrap3/js/keep_alive.js +++ b/themes/bootstrap3/js/keep_alive.js @@ -1,4 +1,4 @@ -/* global keepAliveInterval, VuFind */ +/*global keepAliveInterval, VuFind */ $(document).ready(function keepAliveReady() { window.setInterval(function keepAliveInterval() { diff --git a/themes/bootstrap3/js/lightbox.js b/themes/bootstrap3/js/lightbox.js index b3d42e2fa6ca8c5055b62c36de91d18cbfae12b7..6e1ccda0ab03d1af4633d2ad5a9e7761e5ca82db 100644 --- a/themes/bootstrap3/js/lightbox.js +++ b/themes/bootstrap3/js/lightbox.js @@ -1,4 +1,4 @@ -/* global $, document, CustomEvent, VuFind, window */ +/*global $, document, CustomEvent, VuFind, window */ VuFind.register('lightbox', function Lightbox() { // State var _originalUrl = false; diff --git a/themes/bootstrap3/js/openurl.js b/themes/bootstrap3/js/openurl.js index 3d23e11d8d2a46a90224dc5718aadf7549f97732..fb9312fedafc2156c673be8c78b647d927d9baf2 100644 --- a/themes/bootstrap3/js/openurl.js +++ b/themes/bootstrap3/js/openurl.js @@ -1,4 +1,4 @@ -/* global extractClassParams, VuFind */ +/*global extractClassParams, VuFind */ VuFind.register('openurl', function OpenUrl() { function _loadResolverLinks($target, openUrl, searchClassId) { $target.addClass('ajax_availability'); diff --git a/themes/bootstrap3/js/preview.js b/themes/bootstrap3/js/preview.js index 779047ac1ae4a64f83db51e9bcdbc7dbce489192..e7faf989ac1b0df9bca998040b7cacbacc794051 100644 --- a/themes/bootstrap3/js/preview.js +++ b/themes/bootstrap3/js/preview.js @@ -1,4 +1,4 @@ -/* exported processGBSBookInfo, processOLBookInfo, processHTBookInfo */ +/*exported processGBSBookInfo, processOLBookInfo, processHTBookInfo */ // functions to get rights codes for previews function getHathiOptions() { diff --git a/themes/bootstrap3/js/pubdate_vis.js b/themes/bootstrap3/js/pubdate_vis.js index 97b417ff54a3990fb5bd124c52b6cf24579346f8..5001c9ebc97f4aefe2d93ef8a7ee2c86b6645e4b 100644 --- a/themes/bootstrap3/js/pubdate_vis.js +++ b/themes/bootstrap3/js/pubdate_vis.js @@ -1,5 +1,5 @@ -/* global htmlEncode */ -/* exported loadVis */ +/*global htmlEncode */ +/*exported loadVis */ function PadDigits(number, totalDigits) { var n = number <= 0 ? 1 : number; diff --git a/themes/bootstrap3/js/record.js b/themes/bootstrap3/js/record.js index 840b93e224e398aaec8d8a437519ea981442b317..5dd139dc00e492b20134c6feb4ea080ef00c5efd 100644 --- a/themes/bootstrap3/js/record.js +++ b/themes/bootstrap3/js/record.js @@ -1,5 +1,5 @@ -/* global deparam, syn_get_widget, userIsLoggedIn, VuFind */ -/* exported ajaxTagUpdate, recordDocReady */ +/*global deparam, syn_get_widget, userIsLoggedIn, VuFind */ +/*exported ajaxTagUpdate, recordDocReady */ /** * Functions and event handlers specific to record pages.