-
Notifications
You must be signed in to change notification settings - Fork 260
Added structured types for higer order function parameters #419
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 1 commit
b82bc18
d8093a5
0d7d9b3
7455ae5
d68f7ae
41ce261
6aa5119
9d4aa93
49a296c
40db666
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
Argument names with whitespace like "jQuery object" are confusing, because it might easily be mistaken for two arguments when reading the signature. Argument names like "-index" are also confusing since they look like an expression rather than a name. I have renamed the argument names to be valid javascript identifiers, just like actual argument names have to be. Also changed argument type "Object" and "PlainObject" to "JQuery" where the prose documentation indicates that the type is a jQuery object.
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,7 @@ | |
| <signature> | ||
| <sample>:eq(-index)</sample> | ||
| <added>1.8</added> | ||
| <argument name="-index" type="Integer"> | ||
| <argument name="indexFromEnd" type="Integer"> | ||
|
Member
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. Maybe I'm missing something but I'm not seeing any effect of these
Member
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 as "jQuery object" to "selection", this is just to produce valid variable names in the signatures. |
||
| <desc>Zero-based index of the element to match, counting backwards from the last element. </desc> | ||
| </argument> | ||
| </signature> | ||
|
|
||
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.
Maybe I'm missing something, but I'm not seeing anything effect of this change.