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
var collageCarouselEnableLoadcontent = (function () { | |
"use strict"; | |
var type = { | |
productsView: { | |
value: 'p1', | |
id: 'productList' | |
}, | |
descriptionView: { | |
value: 'd', | |
id: 'descriptionList' |
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
<div class="collageCmp collageCmpExtended" id="collageCmp" style="height: ${someHeightVariable}px; border-color: #${collage.colorTheme}"> |
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
<plugin> | |
<groupId>org.lesscss</groupId> | |
<artifactId>lesscss-maven-plugin</artifactId> | |
<version>1.3.0</version> | |
<configuration> | |
<sourceDirectory>${project.basedir}/src/main/content/jcr_root/etc/designs/shc/commerce/searsstyle-com/less</sourceDirectory> | |
<outputDirectory>${project.basedir}/src/main/content/jcr_root/etc/designs/shc/commerce/searsstyle-com/css</outputDirectory> | |
<excludes> | |
<exclude>file name here</exclude> | |
... More Excludes! |
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
Text Option: | |
<a class="image" target="" onclick="javascript:track_omniture_event('searsStyle+%3E+Shop%2C+share+and+wear+affordable+fashion+at+searsStyle+%3E+Collage1', 'searsStyle+%3E+Shop%2C+share+and+wear+affordable+fashion+at+searsStyle+%3E+Collage1');"> | |
converts to | |
["searsStyle+%3E+Shop%2C+share+and+wear+affordable+fashion+at+searsStyle+%3E+Collage1", "searsStyle+%3E+Shop%2C+share+and+wear+affordable+fashion+at+searsStyle+%3E+Collage1"] | |
example usage: <sears:omnitureTrackLinkJsArray omnitureId="omnitureId" index="${slideIndex.count -1}" componentName="Collage" /> | |
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
<noscript><meta http-equiv="refresh" content="0;URL=/no-js/"/></noscript> |
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
var Namespace = (function (global) { | |
"use strict"; | |
// empty object to verify namespaced objects | |
function Namespace() {} | |
return function (namespace) { | |
var chunks = namespace.split('.'), | |
lastObjRef = global, | |
i; |
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
/** | |
* @class IndexController | |
* @abstract | |
* Used primarily for index tracking on slideshows and slideshow-like components | |
*/ | |
NS('GT.src').IndexController = Class.extend(function () { | |
'use strict'; | |
return { | |
/** | |
* @constructor |
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
/** | |
* @class Timer | |
*/ | |
NS('util').Timer = Class.extend(function () { | |
'use strict'; | |
return { | |
/** | |
* @construct | |
* @param {number} interval Number of milliseconds between each iteration | |
* @param {boolean} singleUse Determines to fire one or many iterations |
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
/** | |
* @class Carousel | |
*/ | |
NS('GT.src').Carousel = GT.src.IndexController.extend(function () { | |
'use strict'; | |
/** @const */ | |
var ROTATE_DURATION = 1000, | |
/** @const */ | |
ANIMATION_SPEED = 500; |
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
#!/bin/bash | |
#Usage: `sh img64.sh <PATH_TO_IMAGE>` | |
echo -n 'input' | openssl base64 -in $1 |
OlderNewer