-
Notifications
You must be signed in to change notification settings - Fork 6
Adding "use strict" JavaScript declaration, first pull request #1
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -94564,6 +94564,63 @@ | |
| "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Code_comments" | ||
| } | ||
| ] | ||
| }, | ||
| "use_strict": { | ||
| "breadcrumb": [ | ||
| "javascript", | ||
| "reference", | ||
| "use_strict" | ||
| ], | ||
| "jsonselect": ":root > .data > .javascript > .use_strict", | ||
| "contents": { | ||
| "desktop": { | ||
| "Basic support": { | ||
| "Chrome": { | ||
| "13": "y" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same code letters as https://github.com/Fyrd/caniuse/blob/master/CONTRIBUTING.md#supported-changes , or...?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. precisely! You remind me, we have notes about that somewhere in the wiki and I forgot to move them here!
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FYI, I added notes in our wiki here http://docs.webplatform.org/wiki/WPD:Infrastructure/Components/CompaTables I’ll create a CONTRIBUTING.md here soon. |
||
| }, | ||
| "Firefox": { | ||
| "4": "y" | ||
| }, | ||
| "Internet Explorer": { | ||
| "10": "y" | ||
| }, | ||
| "Opera": { | ||
| "11.6": "y" | ||
| }, | ||
| "Safari": { | ||
| "6": "y" | ||
| } | ||
| } | ||
| }, | ||
| "mobile": { | ||
| "Basic support": { | ||
| "Android": { | ||
| "3": "y" | ||
| }, | ||
| "Firefox for Android": { | ||
| "4": "y" | ||
| }, | ||
| "IE Phone": { | ||
| "10": "y" | ||
| }, | ||
| "Opera Mobile": { | ||
| "11.5": "y" | ||
| }, | ||
| "Safari Mobile": { | ||
| "5.1": "y" | ||
| }, | ||
| "Chrome for Android": { | ||
| "18": "y" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "links": [ | ||
| { | ||
| "title": "ECMAScript 5 compatibility table", | ||
| "url": "http://kangax.github.io/compat-table/es5/#Strict_mode" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "websockets": { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not "directives" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The breadcrumb array was for debugging purposes from MDN. It isn’t used. You can omit it. I should make it obious in that pull request sample.