Skip to content
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

Not working in IE 10, it's working fine in Edge #4

Open
rprng opened this issue May 6, 2020 · 3 comments
Open

Not working in IE 10, it's working fine in Edge #4

rprng opened this issue May 6, 2020 · 3 comments

Comments

@rprng
Copy link

rprng commented May 6, 2020

Hi Team,

I am using SharePoint 2016 application. this code working fine in Edge but IE 10 not working mostly my users are using IE 10 only.

error: on page load showing errors
syntax error
var BatchUtils = (() => {

I was put this script in .js file and using.

Please help me. it is very urgent.

@anomepani
Copy link
Owner

As utity uses ES6 features like arrow functions it might b not available for IE.

Could you please try to convert typescript to es5?

@rprng
Copy link
Author

rprng commented May 6, 2020

Hi Anomepani,

yeah, I tried but no help. getting same errors

@anomepani
Copy link
Owner

anomepani commented May 10, 2020

I would suggest using ES5 Batchutils https://github.com/anomepani/sp-rest-util/blob/master/BatchUtils.js,
As I have used fetch API which is not available in IE10-11 browser so you can use polyfill.

Hope this will helpful to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants