Closed incrop closed 10 years ago
Hey!
Thanks for taking the time to improve this! Yeah, Must.js was originally focusing on V8, but it makes perfect sense to not require it.
Would you mind doing me a small favor and amending the commit (git commit --amend
) to break the line after the if
? No need for curly braces. I'm really anal about 80-column lines. :) Or if you don't have the time, I can amend it myself before the merge.
No problem. If you don't mind I also rearranged expression a little because that was 81-column. :)
@moll Would you mind merging it?
@arikon And done! :)
Thank you, Dmitry @incrop, for your help!
Released v0.11 with this addition included a second ago, too.
Error.captureStackTrace
is a v8 extension, in other browsers (Firefox, PhantomJS...) failed assertion yields exception with message likeError.captureStackTrace is not a function
.