[wp-trac] [WordPress Trac] #15650: Inefficient selectors in common.dev.js
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 2 16:13:48 UTC 2010
#15650: Inefficient selectors in common.dev.js
--------------------------+-------------------------------------------------
Reporter: GamajoTech | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Performance | Version:
Severity: minor | Keywords: has-patch needs-testing
--------------------------+-------------------------------------------------
Comment(by scribu):
We should make a JavaScript guideline page in the codex with the rule that
jQuery collection variables start with a '$'. This is common practice.
In your patch, this would mean $body instead of body etc.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15650#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list