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

Replace all instances of magic numbers with constants in javascript

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.0-b4
    • 3.1.3-RC1, 3.2.0-a1
    • None
    • 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

        There are no Sub-Tasks for this issue.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: