From 798d22c7612c7bb6c95abf89585c1042876e6076 Mon Sep 17 00:00:00 2001 From: Adam Shire Date: Fri, 8 Nov 2024 11:47:04 -0500 Subject: [PATCH] update line endings --- .../custom/01MIT_INST-TACOS/js/custom.js | 142 +++++++++--------- 1 file changed, 71 insertions(+), 71 deletions(-) diff --git a/primo-explore/custom/01MIT_INST-TACOS/js/custom.js b/primo-explore/custom/01MIT_INST-TACOS/js/custom.js index 1c6cf4bd..0a166320 100644 --- a/primo-explore/custom/01MIT_INST-TACOS/js/custom.js +++ b/primo-explore/custom/01MIT_INST-TACOS/js/custom.js @@ -1,71 +1,71 @@ -(function () { - "use strict"; - var alertBannerTemplate = - '
How are we doing? Give us feedback on your search experience.
'; - - angular.module("viewCustom", ["angularLoad"]) - .component("prmSearchBookmarkFilterAfter", { - template: - '
', - }) - .component("prmLogoAfter", { - template: - '
Search Our Collections
', - }) - .component("prmSearchBarAfter", { - template: alertBannerTemplate, - }) - .component("prmAtozSearchBarAfter", { - template: alertBannerTemplate, - }) - .component("prmBrowseSearchBarAfter", { - template: alertBannerTemplate, - }) - .controller("prmNoSearchResultAfterController", [function () { - this.$onInit = function () { - this.getSearchTerm = this.parentCtrl.term; - }; - }]) - .component("prmNoSearchResultAfter", { - bindings: { - parentCtrl: "<", - }, - controller: "prmNoSearchResultAfterController", - template: ` - - - - Oops, no records found! Let's keep digging... - - - -

No results matching "{{$ctrl.getSearchTerm}}". Is the spelling correct?

-

More options:

-
    -
  • Articles: Select the "Search in full text" checkbox in the sidebar, or request via ILB/ILLiad.
  • -
  • If you have not already logged in, doing so may retrieve more results.
  • -
  • Books, physical materials: Request via BorrowDirect/InterLibrary Borrowing (ILB) by finding the item in WorldCat.
  • -
  • Archives and manuscripts: Search and request via ArchivesSpace.
  • -
  • Suggest a purchase.
  • -
  • Ask Us for more help!
  • -
-
-
- `, - }); -})(); - -/*----------below is the code for libchat-----------*/ -// Adds the chat button -(function () { // load libchat - var libchatHash = "1e8f3119e6cff530e0d23e2cb1f2b2a7"; // hash string goes inside quotation marks - var div = document.createElement("div"); - div.id = "libchat_" + libchatHash; - document.getElementsByTagName("body")[0].appendChild(div); - var scr = document.createElement("script"); - scr.src = "https://libanswers.mit.edu/load_chat.php?hash=" + libchatHash; - setTimeout(function () { - document.getElementsByTagName("body")[0].appendChild(scr); - }, 2000); -})(); -/*---------------libchat code ends here---------------*/ +(function () { + "use strict"; + var alertBannerTemplate = + '
How are we doing? Give us feedback on your search experience.
'; + + angular.module("viewCustom", ["angularLoad"]) + .component("prmSearchBookmarkFilterAfter", { + template: + '
', + }) + .component("prmLogoAfter", { + template: + '
Search Our Collections
', + }) + .component("prmSearchBarAfter", { + template: alertBannerTemplate, + }) + .component("prmAtozSearchBarAfter", { + template: alertBannerTemplate, + }) + .component("prmBrowseSearchBarAfter", { + template: alertBannerTemplate, + }) + .controller("prmNoSearchResultAfterController", [function () { + this.$onInit = function () { + this.getSearchTerm = this.parentCtrl.term; + }; + }]) + .component("prmNoSearchResultAfter", { + bindings: { + parentCtrl: "<", + }, + controller: "prmNoSearchResultAfterController", + template: ` + + + + Oops, no records found! Let's keep digging... + + + +

No results matching "{{$ctrl.getSearchTerm}}". Is the spelling correct?

+

More options:

+
    +
  • Articles: Select the "Search in full text" checkbox in the sidebar, or request via ILB/ILLiad.
  • +
  • If you have not already logged in, doing so may retrieve more results.
  • +
  • Books, physical materials: Request via BorrowDirect/InterLibrary Borrowing (ILB) by finding the item in WorldCat.
  • +
  • Archives and manuscripts: Search and request via ArchivesSpace.
  • +
  • Suggest a purchase.
  • +
  • Ask Us for more help!
  • +
+
+
+ `, + }); +})(); + +/*----------below is the code for libchat-----------*/ +// Adds the chat button +(function () { // load libchat + var libchatHash = "1e8f3119e6cff530e0d23e2cb1f2b2a7"; // hash string goes inside quotation marks + var div = document.createElement("div"); + div.id = "libchat_" + libchatHash; + document.getElementsByTagName("body")[0].appendChild(div); + var scr = document.createElement("script"); + scr.src = "https://libanswers.mit.edu/load_chat.php?hash=" + libchatHash; + setTimeout(function () { + document.getElementsByTagName("body")[0].appendChild(scr); + }, 2000); +})(); +/*---------------libchat code ends here---------------*/