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.analytics.ec = { | |
getList: function getList(sku) { | |
var findList = function findList(url) { | |
var urlParams = adrma.pageInfo.urlParams, | |
href = url ? url : window.location.href, | |
// return the value as early as possible | |
pageInfo = adrma.pageInfo, | |
listValue; | |
if (urlParams.RRref) { | |
//value RRref rich relevance (set on rich relevance zones. values are "rr cat page" "rr list page" "rr pdp" & "rr receipt page") |
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; |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<combres xmlns='urn:combres'> | |
<filters> | |
<filter type="Combres.Filters.FixUrlsInCssFilter, Combres" /> | |
</filters> | |
<resourceSets url="~/combres.axd" defaultDuration="1" | |
defaultVersion="auto" | |
defaultDebugEnabled="true" > | |
<resourceSet name="ADRSPCPIXJs" type="js"> |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<combres xmlns='urn:combres'> | |
<filters> | |
<filter type="Combres.Filters.FixUrlsInCssFilter, Combres" /> | |
</filters> | |
<resourceSets url="~/combres.axd" defaultDuration="1" | |
defaultVersion="auto" | |
defaultDebugEnabled="true" > | |
<resourceSet name="ADRSPCPIXJs" type="js"> |
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
/* Comment Generated by Combres - Resource '/sup/js/lib/jquery-1.9.1.min.js' (Mode: Static) */ | |
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license | |
//@ sourceMappingURL=jquery.min.map | |
*/(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return new b.fn.init(e,t,r)},x=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,A=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,j=/^-ms-/,D=/-([\da-z])/gi,L=function(e,t){return t.toUpperCase()},H=function(e){(o.addEventListener||"load"===e.type||"complete"===o.readyState)&&(q(),b.ready())},q=function(){o.addEventListener?(o.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load" |
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 = window.adrma || {}; | |
adrma.storage = { | |
supported: function() { | |
try { | |
return 'localStorage' in window && window['localStorage'] !== null; | |
} catch (e) { | |
return false; | |
} | |
}, | |
get: function(type, key, obj) { |