change polyfill to monkey patch in browser comment

This commit is contained in:
Sebastian McKenzie
2014-11-05 15:22:17 +11:00
parent 44cd044586
commit 9bb8a16d93

View File

@@ -1,4 +1,4 @@
// this is gross but it polyfills in behaviour required by `depd` used by
// this is gross but it monkey patches in behaviour required by `depd` used by
// `ast-types`
Error.captureStackTrace = Error.captureStackTrace || function (obj) {
if (Error.prepareStackTrace) {