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
jQuery(document).ready(function() { | |
jQuery('a').on('click', function(e) { | |
smooth_scroll_to(this.hash, e); | |
}); | |
}); | |
jQuery(window).on('load',function() { | |
if(window.location.hash) { | |
smooth_scroll_to(window.location.hash); | |
} |
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
// Eduardo Aguad eduaguad@gmail.com | |
// Use: | |
// yarn add vee-validate | |
// import VeeValidate, {Validator} from 'vee-validate'; | |
// Validator.extend('rut', require('./VeeRutValidator')); | |
// <input type="text" name="rut" v-validate="rut"> | |
module.exports = { |
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
<template> | |
<other-component v-if="show"></other-component> | |
</template> | |
<script> | |
import OtherComponent from './components/BasicComponent'; | |
export default { | |
name: 'basic-component', | |
components: { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"plugins": [ | |
{ "removeDoctype": true }, | |
{ "removeXMLProcInst": true }, | |
{ "removeComments": true }, | |
{ "removeMetadata": true }, | |
{ "removeXMLNS": true }, | |
{ "removeEditorsNSData": true }, | |
{ "cleanupAttrs": true }, | |
{ "inlineStyles": 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
const PranzoTimes = [ | |
"12:30:00-13:00:00", | |
"12:30:00-12:45:00", | |
"13:00:00-13:30:00" | |
]; | |
PranzoTimes.map(function(time) { | |
$('#div-pranzo').append('<button class="my-custom-button-meal">' + time + '</button>'); | |
}); |
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
const testFolder = __dirname + '/svgs'; | |
const fs = require('fs'); | |
fs.readdir(testFolder, (err, files) => { | |
const filePromises = []; | |
files.forEach((file, index) => { | |
let concatenatedPath = ""; | |
if (file.indexOf('svg') === -1) return; |
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
<template> | |
<el-select :value="value" @input="handleInput($event)" filterable placeholder="Select" :filter-method="doFilter" | |
default-first-option> | |
<el-option v-for="item in options" :key="item[valueField]" :label="item[labelField]" :value="item[valueField]"> | |
</el-option> | |
</el-select> | |
</template> | |
<script lang="ts"> | |
import Vue from 'vue'; |
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
<template> | |
<el-select :value="value" @input="handleInput($event)" filterable placeholder="Select" :filter-method="filterCustomMethod" | |
default-first-option> | |
<el-option v-for="(item, index) in filteredOptions" :key="item[valueField]" :label="item[labelField]" :value="item[valueField]"> | |
</el-option> | |
</el-select> | |
</template> | |
<script lang="ts"> | |
import Vue from 'vue'; |
OlderNewer