Skip to content

Instantly share code, notes, and snippets.

View zerojuan's full-sized avatar

Julius Cebreros zerojuan

View GitHub Profile
@jamesflorentino
jamesflorentino / class.js
Created November 27, 2012 20:00
ES5, AMD and CommonJS compliant Class module
/**
* ES5 compliant AMD/CommonJS Class Module
* Copyright (c) 2012 James Florentino
*
* Distributed under the terms of the MIT license.
* http://www.opensource.org/licenses/mit-license.html
*
* Derived from John Resig's Simple Prototype Inheritance http://ejohn.org/
* UMD compatible
*