From 6323bfefaf731c7884e314d6987167ce0391fd95 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Mon, 13 Jun 2016 13:49:52 -0400 Subject: [PATCH] Adjust global comment whitespace to make Jenkins happier. --- themes/bootstrap3/js/advanced_search.js | 2 +- themes/bootstrap3/js/autocomplete.js | 2 +- themes/bootstrap3/js/cart.js | 4 ++-- themes/bootstrap3/js/check_item_statuses.js | 2 +- themes/bootstrap3/js/check_save_statuses.js | 2 +- themes/bootstrap3/js/combined-search.js | 2 +- themes/bootstrap3/js/common.js | 4 ++-- themes/bootstrap3/js/embedGBS.js | 2 +- themes/bootstrap3/js/embedded_record.js | 2 +- themes/bootstrap3/js/facets.js | 4 ++-- themes/bootstrap3/js/hierarchyTree.js | 2 +- themes/bootstrap3/js/hold.js | 4 ++-- themes/bootstrap3/js/ill.js | 4 ++-- themes/bootstrap3/js/keep_alive.js | 2 +- themes/bootstrap3/js/lightbox.js | 2 +- themes/bootstrap3/js/openurl.js | 2 +- themes/bootstrap3/js/preview.js | 2 +- themes/bootstrap3/js/pubdate_vis.js | 4 ++-- themes/bootstrap3/js/record.js | 4 ++-- 19 files changed, 26 insertions(+), 26 deletions(-) diff --git a/themes/bootstrap3/js/advanced_search.js b/themes/bootstrap3/js/advanced_search.js index e174fafb944..af944a0c882 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 5e698fd2fe3..7055637f15e 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 79b81fd33dc..c70291916eb 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 75e1c17a269..985427d4e5a 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 2a9d1ec8ea5..3a3ca5512e1 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 2a4f9b71da4..dd4c75d9117 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 5b6c6555a4c..897e38d6993 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 1388dd1d57f..515a6fca77b 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 2040a5c1d9e..396efc5bb62 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 c29dbeefdc4..b9ea423f155 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 3acdf3e48b3..316d26ddd47 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 0f3cb34b34d..73ca8e613d9 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 0817e027fcb..bafc8f371f8 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 9bef1a9ef6c..65a7e252f16 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 b3d42e2fa6c..6e1ccda0ab0 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 3d23e11d8d2..fb9312fedaf 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 779047ac1ae..e7faf989ac1 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 97b417ff54a..5001c9ebc97 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 840b93e224e..5dd139dc00e 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. -- GitLab