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
Hi folks, I know this issue has been discussed before but I'm still getting issues when attempting to use the on-load library with create-choo-app that's using the latest bankai build.
Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
I can solve this by switching to budo or (according to another test someone did) by disabling babelify. However, it seems like something that should work out of the box.
I think using yoyoify no longer helps because choo doesn't support onload attributes in template tags anymore. The identifier solution should probably be documented in the onload readme
Hi folks, I know this issue has been discussed before but I'm still getting issues when attempting to use the on-load library with create-choo-app that's using the latest bankai build.
onload(div, (el) => { console.log('Loaded') }, (el) => { console.log('Unloaded')
results in:
Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
I can solve this by switching to budo or (according to another test someone did) by disabling babelify. However, it seems like something that should work out of the box.
full gist here: https://gist.github.com/callil/52db52b6786d053a84ad8190a46058d8
The text was updated successfully, but these errors were encountered: