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
module.exports = { | |
mode: 'development', | |
entry: { | |
js: path.resolve('zrc/main.js'), | |
"css-base": path.resolve('zrc/styles/_bundles/base.css'), | |
}, | |
stats: 'minimal', | |
watchOptions: { | |
ignored: /node_modules/, | |
}, |
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
{% for p in line.properties %}{% unless p.last == blank %} - {{ p.first }}: {{ p.last }}{% endunless %}<br>{% endfor %} |
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
{ | |
"Responsive Font Post CSS": { | |
"scope": "css, scss, postcss", | |
"prefix" : ["responsive-font"], | |
"body": ["font-size: responsive ${1:min}px ${2:max}px;\nfont-range: 320px 1024px;"], | |
"description": "Responsive font Post CSS" | |
}, | |
"Media Query Max Width": { | |
"scope": "css, scss, postcss", | |
"prefix" : ["media-max-width"], |
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 instantSearchTemplate = InstantSearchResultBlock.prototype.getTemplate; | |
InstantSearchResultBlock.prototype.getTemplate = function(tempType) { | |
if (['products', 'collections'].indexOf(tempType) === -1) return instantSearchTemplate.call(this, tempType); | |
return '<li class="{{class.searchSuggestionGroup}} ' + tempType + '" data-group="{{type}}" aria-label="{{label}}">' + | |
'<ul class="default">' + | |
'<li class="{{class.searchSuggestionHeader}}-{{type}} {{class.searchSuggestionHeader}}" aria-label="{{label}}">{{label}}</li>' + | |
'{{resultItems}}' + | |
'</ul>' + |
OlderNewer