cujojs/meld — pull request #2 by scothis (2012-08-13 19:47:09+00:00)
Title: Handle advising constructors invoked with `new`

Detects a `new` constructor invocation when `this` is an instanceof the
advised function. The advised constructor is involved with the correct
context.

This functionality assumes an ES5 compatible Object.create instance is
available. The constructor property on the new instance will only be
set within an ES5 environment.