Skip to content

Instantly share code, notes, and snippets.

Nick Carter thynctank

Block or report user

Report or block thynctank

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
@thynctank
thynctank / genetics.js
Created Jun 30, 2010
collection of methods for inheriting/mutating/splicing functionality
View genetics.js
Genetics = {
top: window,
// builds a descendant object
// overridden functions get wrapped with this._super prop pointing to base func
// inherits prototype chain
originate: function(name, def) {
var top = Genetics.top;
top[name] = def.init;
delete def.init;
top[name].prototype = def;
You can’t perform that action at this time.