Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #7201 (closed defect: wontfix)

Opened 2 years ago

Last modified 2 years ago

[PATCH] lint-safe prototype

Reported by: stakadush Assigned to: sam
Priority: normal Milestone: 1.x
Component: Prototype Version:
Severity: normal Keywords:
Cc:

Description

prototype had a lot of missing semicolons, which prevented it from passing lint, and being safely compressed... this patch adds semicolons, removes multi-assignment on same line and fixes non-nested regular expressions (e.g. !/123/.test(string) changed to !(/123/.test(string)))

i didn't upload test cases since nothing was really changed in the code, only corrected :)

Attachments

lint.diff (15.7 kB) - added by stakadush on 01/19/07 15:48:34.

Change History

01/19/07 15:48:34 changed by stakadush

  • attachment lint.diff added.

02/07/07 00:34:31 changed by mislav

Thanks for all your trouble making this, but we probably won't be accepting this kind of an enhancement (yet). See #7311

02/27/07 12:51:40 changed by mislav

  • status changed from new to closed.
  • resolution set to wontfix.