News for hackers. Stuff that matters.
Re:Spine -- A lightweight framework for building JavaScript ... by munificent on Monday April 18, 2011 @01:35PM (#2459889)
> Since Spine doesn't use constructor functions, due to limitations with prototypal inheritance, classes are instantiated with inst().

Can someone explain this to me? I've been using prototypal inheritance through Closure's goog.inherits() and never had any problem using regular object constructors.

Re:Spine -- A lightweight framework for building JavaScript ... by firefoxman1 on Monday April 25, 2011 @12:55PM (#2481943)
Maybe it's referring specifically to the "new" keyword that can cause issues if left out when creating instances. If you look at the code, Spine uses Object.create(this.prototype) for init.

This article is a great explanation on issues with prototypal inheritance http://howtonode.org/prototypical-inheritance