Closed mikemitchel closed 5 years ago
const here: https://github.com/canjs/can-ajax/blob/c4e4c2691dc9a5255614118d346d1cb5fa078afb/can-ajax.js#L268
const
is throwing in iOS 9/safari with: SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode.
SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode.
I will fix it in the mix, and do an insta PR to change this to var which fixes it locally for me.
var
const
here: https://github.com/canjs/can-ajax/blob/c4e4c2691dc9a5255614118d346d1cb5fa078afb/can-ajax.js#L268is throwing in iOS 9/safari with:
SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode.
I will fix it in the mix, and do an insta PR to change this to
var
which fixes it locally for me.