This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--violation-color: red; /* used for clear issues */ | |
--warning-color: orange; /* used for potential issues we should look into */ | |
} | |
/* IMAGES */ | |
/* | |
* Lazy-Loaded Images Check | |
* ==== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.when(adrma.fetchData({ | |
url: "https://pay.google.com/gp/p/js/pay.js", | |
dataType: "script", | |
}), | |
adrma.fetchData({ | |
url: "https://js.braintreegateway.com/web/3.64.1/js/client.min.js", | |
dataType: "script", | |
}), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WEB-48778 | |
(function() { | |
if (adrma.pageInfo.pageType === "receiptPage") { | |
window.BOOMR_config = { | |
autorun: false | |
}; | |
BOOMR = window.BOOMR || {}; | |
BOOMR.debug = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adrma.invisibleParameterToJSON = function invisibleParameterToJSON() { | |
var parsedInvisParam = {}, | |
invisParam = adrma.cookie("InvisibleParameter"); | |
if(!invisParam) return false; | |
if (invisParam) { | |
invisParam.split('&').forEach(function(val, i) { | |
var tempArr = val.split("="); | |
var value = adrma.ifBoolParse(tempArr[1]); | |
if (value === '') value = null; | |
parsedInvisParam[tempArr[0]] = value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
adrma.session.getSession.done(function gotSession(session) { | |
var buyNowButton, | |
productInfoContainer = $(".product-info-container"); | |
if (productInfoContainer.find(".vipProduct").length) { | |
//WEB-31841 | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//media API | |
adrma.media = { | |
defaults: { | |
videoDimenstions: { | |
width: 510, | |
height: 450 | |
} | |
}, | |
init: function(arg, options) { | |
this.options = $.extend({}, this.defaults, options); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Validator | |
adrma.Validate = function() { | |
if (this instanceof adrma.Validate) { | |
return this; | |
} else { | |
return new adrma.Validate(); | |
} | |
}; | |
adrma.Validate.prototype = { | |
defaults: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adrma.giftCardWizard = { | |
init: function init() { | |
var self = this; | |
self.data = self.data || {} // init data obj | |
self.bindActions(); | |
$("#sendviaemail").trigger("click"); | |
}, | |
bindActions: function bindActions() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adrma.states = { | |
list: [], | |
USStateList: [], | |
CAStateList: [], | |
get: function get(country) { | |
var self = this, | |
dfd = $.Deferred(), | |
stateList = adrma.storage.get("session", country+"StateList"), | |
if (stateList) { | |
self[country+"StateList"] = stateList; |
NewerOlder