You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added my own support number based on ie:10, so it looks like this:
10: 0b1000000000000000000000000000010,
I wanted to leave classes alone, to compile those with Babel afterword.
It turns out, Buble is modifying the classes, and putting this before super() which turns into an error in Babel because this isn't allowed to be used before super(). The output look like this:
constructor(options){varthis$1=this;if(options===void0)options={};super(options);// use options}
Oddly, this$1 is never used for anything. Not sure why Buble would put that there.
The text was updated successfully, but these errors were encountered:
Dang, I should've forked my repo and posted it. Will do next time. I may get around to it while testing builds for browsers before next release of my project.
I added my own support number based on
ie:10
, so it looks like this:I wanted to leave classes alone, to compile those with Babel afterword.
It turns out, Buble is modifying the classes, and putting
this
beforesuper()
which turns into an error in Babel becausethis
isn't allowed to be used beforesuper()
. The output look like this:Oddly,
this$1
is never used for anything. Not sure why Buble would put that there.The text was updated successfully, but these errors were encountered: