Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.6
-
None
-
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
- blocks
-
MDL-41890 Lazily load moodle-core-popuphelp dependencies
-
- Closed
-
-
MDL-43204 Correct mod_quiz-autosave JavaScript coding style
-
- Open
-
- has been marked as being related by
-
MDL-43216 Agree on new JS namespacing proposal
-
- Closed
-
-
MDL-43191 Define JavaScript namespacing rules
-
- Closed
-
- is duplicated by
-
MDL-21634 Rethink JavaScript coding style
-
- Closed
-