This file contains hidden or 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 keys = [ "height", "width" ] | |
| const values = [ "12px", "24px" ] | |
| const merged = values.reduce((obj, value, index) => ({...obj, [keys[index]]: value}), {}) |
This file contains hidden or 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
| timer () { | |
| setTimeout(() => { | |
| if (this.timeleft === 1) { | |
| this.$router.push('/quote/offer') | |
| return | |
| } | |
| this.timeleft-- | |
| this.timer() | |
| }, 1000) | |
| } |
This file contains hidden or 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 gulp = require('gulp'), | |
| sass = require('gulp-sass'), | |
| concat = require('gulp-concat'), | |
| browserSync = require('browser-sync').create(); | |
| gulp.task('serve', ['sass'], function() { | |
| browserSync.init({ |
NewerOlder