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

Let not yet supported in strict mode in Safari 9 #37

Closed
marcysutton opened this issue Nov 23, 2016 · 5 comments
Closed

Let not yet supported in strict mode in Safari 9 #37

marcysutton opened this issue Nov 23, 2016 · 5 comments

Comments

@marcysutton
Copy link

marcysutton commented Nov 23, 2016

I'm getting an error in Safari 9.1.1 when I include the inert.js file. I want to test dialogs with Voiceover, which is how I ran into this issue.

Here's the error:

inert.js:93 
SyntaxError: Unexpected use of reserved word 'let' in strict mode

I saw some stuff in another issue about transpiling for other browsers. Do I need to do anything special with the polyfill to get it to work with Safari?

Thanks 😺

@valdrinkoshi
Copy link
Collaborator

Are you using the dist/ version of the polyfill? https://github.com/WICG/inert/blob/master/dist/inert.js

@marcysutton
Copy link
Author

Awe, nope. I used the inert.js file. Wish I'd realized that before I recorded it in a screencast.

@alice
Copy link
Member

alice commented Nov 23, 2016

Ah - yeah, we should put the es6 source into a src directory, most likely - I'm sure other people will get bitten by this.

@robdodson
Copy link
Collaborator

Yep working on it

On Nov 23, 2016 9:28 AM, "Alice" notifications@github.com wrote:

Ah - yeah, we should put the es6 source into a src directory, most likely

  • I'm sure other people will get bitten by this.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#37 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABBFDeJNKwJcgOobWqAx7jLlHRGBIB-bks5rBHfJgaJpZM4K6K2l
.

@marcysutton
Copy link
Author

Sounds like there are some changes to the structure, I'm going to close this! Thanks everyone

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

4 participants