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
"use strict"; | |
// Gulp API and configuration | |
const { src, dest } = require('gulp'); | |
// Other dependencies | |
const googleFonts = require('gulp-google-webfonts'); | |
const getUrls = require('get-urls'); | |
const through2 = require('through2'); | |
const url = require('url'); |
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
"responsive": { | |
"config": { | |
"bg/bg-*.jpg": [{ | |
"width": 1600, | |
"quality": 70, | |
"rename": { "suffix": "-1600x" }, | |
"skipOnEnlargement": true | |
}, { | |
"width": 800, | |
"quality": 70, |
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
/** | |
* [isEmtyObj] | |
* | |
* @param {[object]} obj [description] | |
* @return {[boolean]} [description] | |
*/ | |
function isEmptyObj(obj) { | |
// console.log('Obj cont: ' + obj); | |
// console.log(`Obj leng: ${obj.length}`); |
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
/** | |
* [deb] Debugging function | |
* Pass any kind of variables and | |
* see the result | |
* | |
* @return {[false]} [always] | |
*/ | |
function deb() { | |
let msg = ''; | |
if(arguments.length == 0) msg += '(!) debug: don\'t spend my time.\n'; |
NewerOlder