autoflow
autoflow copied to clipboard
add displayName property to react generated functions
By setting displayName property on react generated functions, the anonymous functions can have meaningful names in the debugger and for profiling.
http://www.alertdebugging.com/2009/04/29/building-a-better-javascript-profiler-with-webkit/ http://pmuellr.blogspot.com/2009/06/debugger-friendly.html
Similarly add sourceURL property as well, for Firefox debugging support.
Thanks.
On Wed, Jan 22, 2014 at 6:44 AM, Sébastien Lorber [email protected]:
@jeffbski https://github.com/jeffbski hello,
It seems fixed according to the JSX compiler: http://facebook.github.io/react/jsx-compiler.html
— Reply to this email directly or view it on GitHubhttps://github.com/jeffbski/autoflow/issues/4#issuecomment-33018228 .
Jeff Barczewski Founder of CodeWinds http://codewinds.com/ Web developer training - screencasts, ebooks, webinars