-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with rest parameter on IE11 #59
Comments
Vis Timeline uses Vis Util 1.1.4. Does it happen with 1.1.8? |
I'm working with the current master branch of vis-util. |
Hmm, I don't see any spreading being done in the function. |
It's the "rest parameter" |
But that's not spreading (it just uses the same symbol). Atop of that this gets transformed into a for loop which also doesn't use any spreading. |
In the bundle you have: for (var _len = arguments.length, others = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
others[_key - 2] = arguments[_key];
} |
You are right...I don't know anymore..I give up! The timeline is still broken on IE11 (see visjs/vis-timeline#72) and I really want to fix this before releasing vis-timeline@6 |
Seems to work for me on IE11 now on latest version. |
I got an error debugging visjs/vis-timeline#72 on IE11.
There seams to be a problem in the
selectiveExtend
function.It looks to me that the babel transform of the rest parameter "others" is buggy:
![image](https://user-images.githubusercontent.com/600565/64926828-a3229e80-d802-11e9-90dc-0f6caa248e60.png)
I cannot get this function run in IE without an error 😭
The text was updated successfully, but these errors were encountered: