Skip to content
Snippets Groups Projects
Commit 5733f074 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Blueprint JS checkstyles part 2.

parent 15661eb3
No related merge requests found
/*global getBibKeyString, google */
// we don't need to wait for dom ready since lang is in the dom root // we don't need to wait for dom ready since lang is in the dom root
var lang = document.documentElement.getAttribute('lang'); var lang = document.documentElement.getAttribute('lang');
google.load("books", "0", {"language":lang}); google.load("books", "0", {"language":lang});
......
/*global checkSaveStatuses, confirm, extractController, extractSource, getItemsFromCartCookie, hexEncode, htmlEncode, path, printIDs, rc4Encrypt, Recaptcha, redrawCartStatus, refreshCommentList, removeRecordState, saveCartCookie, vufindString*/ /*global btoa, checkSaveStatuses, confirm, extractController, extractSource, getItemsFromCartCookie, hexEncode, htmlEncode, path, printIDs, rc4Encrypt, Recaptcha, redrawCartStatus, refreshCommentList, removeRecordState, saveCartCookie, unescape, vufindString*/
// keep a handle to the current opened dialog so we can access it later // keep a handle to the current opened dialog so we can access it later
var __dialogHandle = {dialog: null, processFollowup:false, followupModule: null, followupAction: null, recordId: null, postParams: null}; var __dialogHandle = {dialog: null, processFollowup:false, followupModule: null, followupAction: null, recordId: null, postParams: null};
......
...@@ -5,7 +5,7 @@ function getHathiOptions() { ...@@ -5,7 +5,7 @@ function getHathiOptions() {
function getGoogleOptions() { function getGoogleOptions() {
var opts_temp = $('[class*="googlePreviewSpan"]').attr("class").split('__')[1].split(';'); var opts_temp = $('[class*="googlePreviewSpan"]').attr("class").split('__')[1].split(';');
var options = {}; var options = {};
for (key in opts_temp) { for(var key in opts_temp) {
var arr = opts_temp[key].split(':'); var arr = opts_temp[key].split(':');
options[arr[0]] = arr[1].split(','); options[arr[0]] = arr[1].split(',');
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment