]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - CONTRIBUTING.md
SASL:irssi: add `cd` line when downloading script (#470)
[irc/freenode/web-7.0.git] / CONTRIBUTING.md
index a1eb270aa8660d11123d0879be6caa3fecfec059..034a61c8cb4906d162af039ac46120e30e9fb115 100644 (file)
@@ -76,3 +76,8 @@ This does not apply to third party css such as open sans, font awesome and freen
 - No spaces around `=`
 
 A *.footerchild* should contain at least 3 items, it just look silly otherwise.
+
+### JS
+JavaScript should be used sparsely and should not break the usability of the site for browsers without JavaScript
+- For style, follow [JavaScript Standard Style](https://standardjs.com/)
+- Document with [jsdoc](http://usejsdoc.org/) at least to describe what every function does