Skip to content

Instantly share code, notes, and snippets.

🤔
Thinking

Stefano steoo

🤔
Thinking
Block or report user

Report or block steoo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@steoo
steoo / gulpfile.js
Created Feb 6, 2016 — forked from danharper/gulpfile.js
New ES6 project with Babel, Browserify & Gulp
View gulpfile.js
var gulp = require('gulp');
var sourcemaps = require('gulp-sourcemaps');
var source = require('vinyl-source-stream');
var buffer = require('vinyl-buffer');
var browserify = require('browserify');
var watchify = require('watchify');
var babel = require('babelify');
function compile(watch) {
var bundler = watchify(browserify('./src/index.js', { debug: true }).transform(babel));
View SASS font-face
$names: (
Ultra_Light: 100,
Light: 200,
Regular: 400,
Medium: 500,
Bold: 600,
ExtraBold: 700,
Black: 400
);
View style span remover
var target = this.$el[0],
test = new RegExp("(font-(.*))+|line-(.*)+"),
that = this,
observer = new MutationObserver(function (mutations) {
mutations.forEach(function (mutation) {
//console.log(mutation);
/* Rimuove gli styling che applica il browser */
var length = mutation.addedNodes.length;
if (mutation.type === "attributes" && test.test(mutation.oldValue)) {
console.log("You shall not pass");
You can’t perform that action at this time.