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

Improve the javascript coding style guidelines

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6
    • None
    • Documentation
    • 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

              poltawski Dan Poltawski
              jleyva Juan Leyva
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: