Browse Source

Merge pull request #65 from hkdnet/fix-indentation-in-syntax-html

Fix indentation in syntax.html
Marco Bambini 8 years ago
parent
commit
9e7fc20468
1 changed files with 6 additions and 6 deletions
  1. 6 6
      docs/syntax.html

+ 6 - 6
docs/syntax.html

@@ -161,12 +161,12 @@
 	// block scope can be nested and
 	// can hide other local variables
 	func f3() {
-	    var a = 10;
-	    if (a > 0) {
-		  var a = 20;
-	    }
-	// 10 is returned here
-	return a;
+		var a = 10;
+		if (a > 0) {
+			var a = 20;
+		}
+		// 10 is returned here
+		return a;
 	}
 			</code></pre>