[buddypress-trac] [BuddyPress] #2151: don't use global variable j in bp-themes/bp-default/_inc/globals.js for jQuery

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Mar 7 17:10:57 UTC 2010


#2151: don't use global variable j in bp-themes/bp-default/_inc/globals.js for
jQuery
----------------------+-----------------------------------------------------
Reporter:  andrew_s1  |       Owner:       
    Type:  task       |      Status:  new  
Priority:  trivial    |   Milestone:  1.2.2
Keywords:  has-patch  |  
----------------------+-----------------------------------------------------
 It's just asking for trouble. People are always going to use i and j as
 handy counter variables, so it's not wise to rely on having j in the
 global namespace as an untainted jQuery object

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2151>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list