Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12698

Replace all instances of magic numbers with constants in javascript

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-b4
    • Fix Version/s: 3.1.3-RC1, 3.2.0-a1
    • Component/s: None
    • Labels:
      None

      Description

      In the javascript code there are multiple instances where the so-called magic numbers are used to identify difference occurrences.
      The objective is to replace all those occurrences with "constants" in the phpBB global object.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              brunoais brunoais
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: