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
That is likely because the two libraries are attempting to apply the same polyfills in different ways. if you are using core.js you probably dont need polyfill.js as it does much more than the Tabulator polyfill file.
Did you mean that I do not have to use Tabulator's polyfill file?
If that case, are you going to think about releasing the version without polyfill?
Or should I just eliminate the Tabulator's polyfill file and build them by myself?
The pollyfill.js file is just there to make up for missing functions in the IE browsers and is optionally included by developers to make Tabulator work on a site that is used on IE.
If you are including core.js then that is already replacing the missing browser functionality so there is no need to include the polyfill.
It has nothing to do with the Tabulator build or the release. In your useage case because you are already polyfilling the missing browser functionality you simply don't need the polyfil.js in your project. As long as you include tabulator.js after core.js you should be fine.
The file is there for those that need it. You can simply choose not to in your usage case
Describe the bug
When I try to use this Tabulator with core-js (https://github.com/zloirock/core-js),
the following error code appear on IE11 browser's console.
Same issue is here.
zloirock/core-js#746
If I delete the code in
src/js/polyfills.js
, ordist/js/tabulator.js
from 20 to 177,it works fine.
Tabulator Info
4.5.3
Working Example
Please open with Internet Explorer 11.
https://jsbin.com/fiyadipifi/2/edit?html,js,console,output
In webpack, the following code is a sample.
To Reproduce
Expected behavior
Can access the server without error.
Desktop (please complete the following information):
Additional context
My suggestion:
Could you eliminate the code I mentioned above and release that version next?
I will appreciate your help with this situation.
The text was updated successfully, but these errors were encountered: