appendto/jquery-mockjax — pull request #163 by JarrodCTaylor (2014-08-16 20:42:37+00:00)
Title: Tech Debt: Use `throw new Error("message")` syntax

Updated the use of `throw("message")` to `throw new Error("message")` I
was motivated to do this primarily because of the issue raised [here](https://github.com/emberjs/ember.js/issues/5366)
raising errors in this way will not only allow Ember applications to
utilize the `throwUnmocked` setting but should provide a consistent
error raising experience across all major browsers as detailed
[here](http://www.nczonline.net/blog/2009/03/10/the-art-of-throwing-javascript-errors-part-2/)

I would like to provide a test for this but I am unsure how we could go
about doing that. This does not introduce any regressions and should be
a more universal way of doing it.