Closed Bug 1005549 Opened 11 years ago Closed 11 years ago

Bug ###### Comment 2 doesn't mungered well for Comment anchor (case sensitivity problem)

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hunboy, Assigned: hunboy)

Details

Attachments

(1 file, 1 obsolete file)

1.30 KB, patch
bugzilla-mozilla-20000923
: review+
Details | Diff | Splinter Review
Assignee: rginda → utasir
Attached patch patch v1 (obsolete) — Splinter Review
using match instead og indexOf for handling the case sensitivity problem.
Attachment #8416962 - Flags: review?(bugzilla-mozilla-20020327)
Status: NEW → ASSIGNED
Comment on attachment 8416962 [details] [diff] [review] patch v1 Review of attachment 8416962 [details] [diff] [review]: ----------------------------------------------------------------- Looks good (and hilariously simple). r=silver with or without the nit fixed. ::: xul/content/mungers.js @@ +326,2 @@ > { > var commentNum = matchText.match(/comment\s+#?(\d+)/i)[1]; Nit: We could rearrange this code so it does this, more complete, .match() before the if and just check the result of that.
Attachment #8416962 - Flags: review?(bugzilla-mozilla-20020327) → review+
Attached patch patch v1.1Splinter Review
nit fixed patch
Attachment #8416962 - Attachment is obsolete: true
Attachment #8427419 - Flags: review?(bugzilla-mozilla-20020327)
Attachment #8427419 - Flags: review?(bugzilla-mozilla-20020327) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: