gigamonkey/gg — pull request #2 by n8agrin (2012-07-29 18:51:26+00:00)
Title: Remove implicit returns.

Maybe this is a style preference, so I don't mean to be pedantic, but constructor functions implicitly return a reference to `this` when used with the `new` keyword. Bizarrely constructor fn's will also return references to other objects even when used with the new keyword if their body ends with a return statement that references a different object (eg function MyObj() { return {} }). Because of this, I eliminated the `return this`'s from the constructors because standard practice is to only return from constructors when you need to return a different object reference.