Created
November 12, 2012 21:55
Revisions
-
ahoward created this gist
Nov 12, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ // var Grid = new Function(); Grid.initialize = function(){ var args = Array.prototype.slice.apply(arguments); var grid = new Grid(); grid.initialize.apply(grid, args); return grid; }; Grid.prototype.initialize = function(){ var args = Array.prototype.slice.apply(arguments); var grid = this; // initialize that bad boy... };