aboutsummaryrefslogtreecommitdiffstats
path: root/docs/style-guide.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/style-guide.rst')
-rw-r--r--docs/style-guide.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/style-guide.rst b/docs/style-guide.rst
index b0560917..46b915e1 100644
--- a/docs/style-guide.rst
+++ b/docs/style-guide.rst
@@ -262,6 +262,19 @@ No::
y = 2;
long_variable = 3;
+Don't include a whitespace in the fallback function:
+
+Yes::
+
+ function() {
+ ...
+ }
+
+No::
+
+ function () {
+ ...
+ }
Control Structures
==================