strongloop/loopback-datasource-juggler — pull request #152 by bajtos (2014-06-23 12:43:39+00:00)
Title: validations: support non-V8 browsers

Call `Error.captureStackTrace()` only when it is available.

Use `this.stack = (new Error).stack` when `captureStackTrace` is not
available but the `stack` property is (Firefox).

/to @ritch please review.