Side navigation
#8044 closed bug (fixed)
Opened January 25, 2011 01:56AM UTC
Closed January 25, 2011 10:41AM UTC
Last modified March 13, 2012 02:34PM UTC
Unused variable "rnonword"?
Reported by: | iszak.bryan@gmail.com | Owned by: | rwaldron |
---|---|---|---|
Priority: | low | Milestone: | 1.5 |
Component: | core | Version: | 1.5rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Upon looking into jQuery 1.5 RC1 source I noticed a variable called "rnonword" which doesn't appear to be used throughout jQuery, I have also checked the trunk and it doesn't appear to be used there either. Is this a mistake or is it used?
Attachments (0)
Change History (4)
Changed January 25, 2011 02:14AM UTC by comment:1
priority: | undecided → low |
---|---|
status: | new → open |
Changed January 25, 2011 02:55AM UTC by comment:2
owner: | → rwaldron |
---|---|
status: | open → assigned |
https://github.com/jquery/jquery/pull/207
Interesting side note: I did that in cloud9ide on a cr-48
Changed January 25, 2011 03:12AM UTC by comment:3
I did that in cloud9ide on a cr-48
baller.
I notice that rnonword was used to check for non-word characters on line 180 of the source in jQuery 1.4.4 but you're correct in saying it's nowhere else to be found after its defined in 1.5. It's quite trivial to remove and should be safe to get rid of before we finalize the 1.5 release. I'll keep this open as a reminder.