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

Issue with IE 11 '=>' #498

Closed
grelu opened this Issue Nov 15, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@grelu

grelu commented Nov 15, 2016

Hi,

excuse my english.

I have an issue with IE 11 and this :

`resource.save(
{'idQuestionnaire' : this.idQuestionnaire,'idRootnode' : this.idRootnode,'newResponses' : JSON.stringify(this.newResponses)}
).then((datas) => {
if(datas == "NOK") {
vuealert.vuemessage="Problem with your save"
vuealert.danger=true
return
}else{
vuealert.vuemessage="Updated !"
vuealert.success=true
this.newResponses=[]
this.questionanswer=datas
this.checkSubChapterOrNot()
//console.log(this.questionanswer)
}
},(datas) => {

				}
				);`

The bug is a problem with IE or vue-resource ?
i do call the method 'save' with deprecated method for IE ?

Thanks

@chrisforrence

This comment has been minimized.

Show comment
Hide comment
@chrisforrence

chrisforrence Nov 15, 2016

Those look like arrow functions, which are part of ES6 and unsupported in IE. Your choices will be either to replace them with conventional function definitions or use something like Babel to convert ES6 syntax.

// Replace something like
(datas) => { ... }

// with
function(datas) { ... }

chrisforrence commented Nov 15, 2016

Those look like arrow functions, which are part of ES6 and unsupported in IE. Your choices will be either to replace them with conventional function definitions or use something like Babel to convert ES6 syntax.

// Replace something like
(datas) => { ... }

// with
function(datas) { ... }
@grelu

This comment has been minimized.

Show comment
Hide comment
@grelu

grelu Nov 16, 2016

Thank you very much.
I close this post. Bye !

grelu commented Nov 16, 2016

Thank you very much.
I close this post. Bye !

@grelu grelu closed this Nov 16, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment