foxneod/foxneodjs — pull request #6 by dmkelly (2013-08-30 18:49:15+00:00)
Title: Prevent misused instance constructors from polluting global namespace

If a function should only be called as a constructor, it should call `utils.requireConstructor.call(this)` to throw an error if it is not called as a constructor.