-
Notifications
You must be signed in to change notification settings - Fork 8
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
Create rule generator utilities #55
Comments
edg2s
added a commit
that referenced
this issue
Jan 23, 2019
Creates four generators: * createCollectionMethodRule: $(...).method(...) * createCollectionPropertyRule: $(...).property * createUtilMethodRule: $.method(...) * createUtilPropertyRule: $.property Not touched by this change are rules with more complex criteria, and rules where the distinction hasn't been made between util methods and collection methods e.g. $.text() and $(...).text(). Doesn't touch the tests to ensure no functionality is changed. Part of #55
jdforrester
pushed a commit
that referenced
this issue
Jan 23, 2019
Creates four generators: * createCollectionMethodRule: $(...).method(...) * createCollectionPropertyRule: $(...).property * createUtilMethodRule: $.method(...) * createUtilPropertyRule: $.property Not touched by this change are rules with more complex criteria, and rules where the distinction hasn't been made between util methods and collection methods e.g. $.text() and $(...).text(). Doesn't touch the tests to ensure no functionality is changed. Part of #55
Closed
We should probably also create a rule generator for the ambiguous collection method + utility method cases (e.g. |
The last utility was introduced in 557523d, so this task is done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Many rules are identical to others but for some string constant, for example:
$div.hide()
,$div.find()
,$div.parent()
...$div.selector
,$div.context
...$.isFunction()
,$.isNumeric()
,$.contains()
...$.noop
,$.browser
,$.boxModel
...$.each
+$div.each()
The text was updated successfully, but these errors were encountered: