From 19080f9958f05cd4b0bb5d01334878f6d9a77ce3 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 12 Jan 2014 21:28:58 +0000 Subject: [PATCH] Update coding style guidelines --- .../tiddlers/dev/TiddlyWiki Coding Style Guidelines.tid | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/dev/TiddlyWiki Coding Style Guidelines.tid b/editions/tw5.com/tiddlers/dev/TiddlyWiki Coding Style Guidelines.tid index fe6ad1e69..b884a5ec1 100644 --- a/editions/tw5.com/tiddlers/dev/TiddlyWiki Coding Style Guidelines.tid +++ b/editions/tw5.com/tiddlers/dev/TiddlyWiki Coding Style Guidelines.tid @@ -24,7 +24,8 @@ Multiline comments are used to introduce a block of code such as a function defi function demoFunction(param,more) { // Proper sentence capitalisation for comments if(condition == "something") { - // No space between "if" and the brackets; always spaces around operators + // No space between "if" and the brackets; always spaces around binary operators + something = somethingElse; myOtherFunction(one,two); // No whitespace within function parameters do { myCondition.explore(); // Always use semicolons