Skip to content

Instantly share code, notes, and snippets.

Alex Sexton SlexAxton

Block or report user

Report or block SlexAxton

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
SlexAxton / Nonminified.js
Created Feb 8, 2012 — forked from anonymous/modernizr-2.5.2.min.js
Modernizr 2.5.2 that crashes IE7/8
View Nonminified.js
/* Modernizr 2.5.2 (Custom Build) | MIT & BSD
* Build:
window.Modernizr = (function( window, document, undefined ) {
var version = '2.5.2',
SlexAxton / jConstruct.js
Created Dec 22, 2011 — forked from martndemus/jConstruct.js
jQuery constructor recreation attempt
View jConstruct.js
(function (window, undefined) {
var MRTN = (function() {
// The main FeedTheWebDev function
var MRTN = function(element) {
return new MRTN.fn.init(element, rootDoc);
// Ref to root document
View gist:362179
// everyone's new favorite closure pattern:
(function(window,document,undefined){ ... })(this,this.document);
// when minified:
(function(w,d,u){ ... })(this,this.document);
// which means all uses of window/document/undefined inside the closure
// will be single-lettered, so big gains in minification.
// it also will speed up scope chain traversal a tiny tiny little bit.
You can’t perform that action at this time.