Opened 11 years ago
Closed 11 years ago
#10706 closed bug (worksforme)
The regex /\s+/ appears three times
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | misc | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
We are assigning the regex /\s+/ to 2 different variables, and we have a stand-alone instance. Why not reuse one variable every single time?
Change History (1)
comment:1 Changed 11 years ago by
Component: | unfiled → misc |
---|---|
Priority: | undecided → low |
Resolution: | → worksforme |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This is because the source is developed in sep module files, each with its own IIFE closure, therefore the localized reference must be made in each.