updated contributing.md to refer to idiomatic js guide

This commit is contained in:
walterhiggins 2014-01-30 00:03:07 +00:00
parent 621245adac
commit e52b665583
1 changed files with 18 additions and 10 deletions

View File

@ -14,16 +14,16 @@ 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)
modules + modules +
(this is where module authors should put modules for (this is where module authors should put modules for
use by others) use by others)
plugins + plugins +
(this is where plugins - scriptcraft extensions for use by (this is where plugins - scriptcraft extensions for use by
operators and players should go) operators and players should go)
resources + resources +
plugin.yml plugin.yml
docs + docs +
@ -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