Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-43190

Improve the javascript coding style guidelines

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
    • Affected Branches:
      MOODLE_26_STABLE

      Description

      I think that the current javascript coding style guidelines should be improved with clear rules and differences between PHP and Javascript style:

      http://docs.moodle.org/dev/JavaScript_guidelines#JavaScript_coding_style

      I have seen some inconsistencies in core code, i.e variables that are a result of calling a yui function named like style myVar = Y.something

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: