Re:Goodbye “undefined is not a function”
by TheAceOfHearts on Sunday February 22, 2015 @05:42PM
(#9091551)
Why can't you use source maps in production?
Re:Goodbye “undefined is not a function”
by pimlottc on Monday February 23, 2015 @03:00AM
(#9093163)
OP may be referring to jQuery's removal of the sourcemap comment last year, starting from 1.11/2.1 [0]. Basically, many sites deploy the minified library without the sourcemap, leading to tons of 404 errors which confuse users.
You usually step through the code you were last working on and it's in there.
Use a query string to run an unminified version in prod.
Re:Goodbye “undefined is not a function”
by piotrkaminski on Sunday February 22, 2015 @05:42PM
(#9091550)
I just use https://getsentry.com/. Seems to work pretty well, both across browsers and with my minified code.
I wonder how large js apps handle production debugging and error reporting on all browsers? The last time I tried window.onerror it had decent support but not comprehensive support across browsers. Maybe its just me but this seems like a problem really needing to be solved, especially as js apps get bigger and bigger.