From de20ac0d32e9db19b3c1456a2a65b2a220ffaae2 Mon Sep 17 00:00:00 2001 From: Stefan Breunig Date: Fri, 22 Feb 2013 08:38:48 +0100 Subject: [PATCH] add note about quotes --- HACKING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/HACKING.md b/HACKING.md index cf7fe101..b4975954 100644 --- a/HACKING.md +++ b/HACKING.md @@ -30,6 +30,7 @@ Please follow the these guidelines. Some are just preference, others are good pr - opening brace on the same line with a space after the if/for/etc: `if(blub) {` - else clauses: `} else if(blub) {` or `} else {` - comments: `// this is a comment` +- quotes: Use single-quotes for JavaScript and double-quotes for HTML content. Example: `$('body').append('
Soup!
');`. - there is no length limit on lines, but try to keep them short where suitable