-
-
Notifications
You must be signed in to change notification settings - Fork 906
chore: fix javascript lint errors #6214 #6221
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
Changes from 11 commits
4f28c68
2340149
701c8b6
7e15762
b2d2c7c
b163856
e7dccbd
ed0570c
df9cd46
cc54540
175b6c8
43e1bbc
4d5dfa3
09f7346
6980d23
5b12782
3b71ac6
f1e2e47
135d208
d6d8015
5f189c0
51620f6
a092b94
7e5a0f6
b43e355
a7c39ab
da25f36
978501e
b8c4077
a90e1e3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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. The proposed changes are not the desired changes, in this case. Instead, because we still need the polyfill implementation, at L47, you should just disable doctesting using a 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. You have also yet to revert the changes to this file. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
* | ||
* @example | ||
* function get( obj, prop ) { | ||
* return obj[ prop ] * 2.0; | ||
* return obj[ prop ] * 1.0; | ||
|
||
* } | ||
* | ||
* var handlers = { | ||
|
@@ -42,9 +42,10 @@ | |
* p.a = 3.14; | ||
* | ||
* var x = p.a; | ||
* // returns 6.28 | ||
* // returns 3.14 | ||
|
||
*/ | ||
function Proxy( target ) { | ||
// eslint-disable-next-line no-warning-comments | ||
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. Still incorrect. |
||
// TODO: polyfill implementation | ||
return target; | ||
} | ||
|
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 changes to this file should be reverted, as they are not desired. The entire point of the doctest is to demonstrate how proxies allow for intercepting property access.