updated contributing.md to refer to idiomatic js guide
This commit is contained in:
parent
621245adac
commit
e52b665583
1 changed files with 18 additions and 10 deletions
|
@ -14,7 +14,7 @@ This project uses a Maven-like directory structure...
|
||||||
scriptcraft +
|
scriptcraft +
|
||||||
ScriptCraftPlugin.java
|
ScriptCraftPlugin.java
|
||||||
|
|
||||||
javascript +
|
js +
|
||||||
lib +
|
lib +
|
||||||
(core javascript code goes here. Modules in this directory
|
(core javascript code goes here. Modules in this directory
|
||||||
should not be 'require'd by plugin or module authors)
|
should not be 'require'd by plugin or module authors)
|
||||||
|
@ -71,6 +71,14 @@ called `greet.js` located in the plugins folder...
|
||||||
global. Anyone with operator privileges can type `/js greet(self)` at
|
global. Anyone with operator privileges can type `/js greet(self)` at
|
||||||
the in-game command prompt to execute the function.
|
the in-game command prompt to execute the function.
|
||||||
|
|
||||||
|
## Coding Conventions
|
||||||
|
|
||||||
|
See <https://github.com/rwaldron/idiomatic.js> for a recommended
|
||||||
|
approach to writing javascript code for ScriptCraft. ScriptCraft is
|
||||||
|
aimed at younger programmers so readability is important - moreso than
|
||||||
|
cleverness. If submitting new code for inclusion in ScriptCraft please
|
||||||
|
ensure it is documented using the guidelines below...
|
||||||
|
|
||||||
## Documentation contributions
|
## Documentation contributions
|
||||||
|
|
||||||
The Young persons guide to programming source file is located at
|
The Young persons guide to programming source file is located at
|
||||||
|
|
Reference in a new issue