Skip to content

Instantly share code, notes, and snippets.

View adardesign's full-sized avatar
🎯
Focusing

Eliezer Braun adardesign

🎯
Focusing
View GitHub Profile
/* 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"
adrma = window.adrma || {};
adrma.storage = {
supported: function() {
try {
return 'localStorage' in window && window['localStorage'] !== null;
} catch (e) {
return false;
}
},
get: function(type, key, obj) {
adrma = window.adrma || {};
adrma.storage = {
supported: function() {
try {
return 'localStorage' in window && window['localStorage'] !== null;
} catch (e) {
return false;
}
},
get: function(type, key, obj) {
<resourceSet name="LPRevisedCheckoutJs" type="js">
<resource path="/sup/js/lib/jquery-1.9.1.min.js"/>
<resource path="/sup/js/adrma.js"/>
<resource path="/sup/js/adrma.log.js"/>
<resource path="/sup/js/polyfills/objectKeys.js"/>
<resource path="/sup/js/polyfills/raf.js"/>
<resource path="/sup/js/adrma.utils.js"/>
<resource path="/sup/js/adrma.initFunc.js"/>
<resource path="/sup/js/adrma.init.js"/>
<resource path="/sup/js/adrma.ajax.js"/>
New header
<resource path="/sup/css/LP/fonts.css" />
<resource path="/sup/css/LP/core.css" />
<resource path="/sup/css/LP/base.css" />
<resource path="/sup/css/LP/forms.css" />
<resource path="/sup/css/LP/buttons.css" />
<resource path="/sup/css/LP/sellPoints.css" />
<resource path="/sup/css/LP/tooltips.css" />
<resource path="/sup/css/LP/itemModule.css" />
<resource path="/sup/css/LP/productAggregate.css" />
<!DOCTYPE html>
<!--[if IE 8]> <html lang="sv-SE" class="no-js ie8"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="sv-SE" class="no-js"> <!--<![endif]-->
<head>
<meta charset="UTF-8">
<title>Breakpoint detection test</title>
<style type="text/css" media="screen">
@media screen and (min-width: 320px) {
#page:after {
content: 'mobile-small'; /* represent the current width-bracket */
/*!
* typeahead.js 0.9.1
* https://github.com/twitter/typeahead
* Copyright 2013 Twitter, Inc. and other contributors; Licensed MIT
*/
(function($) {
var VERSION = "0.9.1";
var utils = {
isMsie: function() {
var match = /(msie) ([\w.]+)/i.exec(navigator.userAgent);
<div class="listingNavWidget widget">
<h2 class="widgetHeader icon-calendar">Store Schedule</h2>
<div class="widgetContent">
<div class="subSection todaysDateSection">
<h4>Wednesday<br>
Feb 6th, 2013</h4>
</div>
function RR.jsonCallback(){
//Process Placements provided in RR.data.JSON.placements
console.dir(RR.data.JSON.placements);
}
Example contents of RR.data.JSON:
{
"placements": [{
$('.tooltip').each(function() {
var thistip = $(this);
var thehash = $(thistip).attr('id');
$('.theoptions').append("<div class='tooltipcontent "+thehash+"' style='display:none'></div>");
$(".tooltipcontent."+thehash).load('tooltips/data.php #'+thehash, function(){
var thehtml = $(".tooltipcontent."+thehash).html().replace(/"/g, '\'');
//alert(thehtml)
$(thistip).attr('title', thehtml).tooltipster('update', thehtml);