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
In strict mode the script causes a ReferenceError: assignment to undeclared variable eve when the eve function is assigned to the (undeclared) eve variable. This is a relatively new issue, caused by the declaration of variables being terminated after the "isArray" function.
It was not present in version 0.4.2, when the list was only terminated after the (then named) functioneve declaration.
Fix seems to be as simple as changing the semicolon in line 52 to a comma:
- Instead of including `eve` from `npm package` we are keeping the file of eve in redraphael repository.
- This is because there is an open issue in `eve.js` [In strict mode the script causes a ReferenceError](adobe-webplatform/eve#32)
In strict mode the script causes a ReferenceError: assignment to undeclared variable eve when the eve function is assigned to the (undeclared) eve variable. This is a relatively new issue, caused by the declaration of variables being terminated after the "isArray" function.
It was not present in version 0.4.2, when the list was only terminated after the (then named) functioneve declaration.
Fix seems to be as simple as changing the semicolon in line 52 to a comma:
https://github.com/adobe-webplatform/eve/blob/master/eve.js#L52
https://github.com/adobe-webplatform/eve/blob/master/eve.js#L65
The text was updated successfully, but these errors were encountered: