Skip to content

Instantly share code, notes, and snippets.

Let me know if you need a second opinion.

Idan Goldman idangoldman

Let me know if you need a second opinion.
View GitHub Profile
TravelingTechGuy / ChromeExtensionGulp.js
Created Apr 5, 2014
Gulp file for building a Chrome Extension
View ChromeExtensionGulp.js
'use strict';
//npm install gulp gulp-minify-css gulp-uglify gulp-clean gulp-cleanhtml gulp-jshint gulp-strip-debug gulp-zip --save-dev
var gulp = require('gulp'),
clean = require('gulp-clean'),
cleanhtml = require('gulp-cleanhtml'),
minifycss = require('gulp-minify-css'),
jshint = require('gulp-jshint'),
stripdebug = require('gulp-strip-debug'),
termi / crossBrowser_initKeyboardEvent.js
Last active May 28, 2020
Cross-browser initKeyboardEvent
View crossBrowser_initKeyboardEvent.js
void function() {//closure
var global = this
, _initKeyboardEvent_type = (function( e ) {
try {
"keyup" // in DOMString typeArg
, false // in boolean canBubbleArg
, false // in boolean cancelableArg
, global // in views::AbstractView viewArg
You can’t perform that action at this time.