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
SM = { | |
controller : new ScrollMagic.Controller(), | |
elems : { | |
animatedElement : $('#animated-element') | |
} | |
} | |
cleanSM : function() { | |
SM.controller = SM.controller.destroy(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
{ | |
"id":1503438176369, | |
"title":"Test Product Brazalete - Opción 3", | |
"price":"99.00", | |
"line_price":"99.00", | |
"quantity":1, | |
"sku":"", | |
"grams":0, | |
"properties":[ | |
[ |
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
// Contenedor en el cual buscar | |
var parent = $('#data-sections'); | |
var titles = parent.find('h1'); | |
function cleanString(str) { | |
// Función para reemplazar los caracteres especiales, acentos, espacios | |
var str = str | |
.toLowerCase() | |
.replace('á', 'a') | |
.replace('é', 'e') |
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
{% assign current_page = paginate.current_page %} | |
{% assign max_limit_pages = current_page | plus: 3 %} | |
{% assign min_limit_pages = current_page | minus: 4 %} | |
<div id="pagination"> | |
<ul id="pagination-list"> | |
{% if paginate.previous %} |
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
animated_sprite = function () { | |
this.vars = { | |
currentIndex : 0, | |
path : null, | |
class : null, | |
interval : null, | |
lenght : null, | |
time : null | |
} | |
this.init = function(sprite, lenght = null, time) |
NewerOlder