Skip to content
Snippets Groups Projects
Commit 63f6f18e authored by Seamus Lee's avatar Seamus Lee
Browse files

Minor improvements to javascript doc

parent a7c50bee
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ Example to tell JSHint Tell jsHint about any globals in use:
/*global CRM, ts */
```
### globals
### Globals
Declaring a global variable/function is a bad practice in Javascript unless absolutely necessary. Your code should never create globals. In the rare cases that you need to declare variables or functions outside the local scope of your closure, create a namespace within the CRM object
......
......@@ -210,7 +210,7 @@ pages:
- Coding Standards: standards/index.md
- PHP Standards: standards/php.md
- SQL Standards: standards/sql.md
- Javascript: standards/javascript.md
- Javascript Reference: standards/javascript.md
# API: standards/api.md
# Git: standards/git.md
- Documentation:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment