Skip to content

Commit fe306fd

Browse files
committed
Merge pull request chuanxshi#86 from pmw57/patch-1
Aligning case with switch, as according to the style convention.
2 parents 9cda6f7 + f9d9f30 commit fe306fd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎general-patterns/switch-pattern.html‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@
2424
varinspect_me=0,
2525
result='';
2626
switch(inspect_me){
27-
case0:
28-
result="zero";
29-
break;
30-
case1:
31-
result="one";
32-
break;
33-
default:
34-
result="unknown";
27+
case0:
28+
result="zero";
29+
break;
30+
case1:
31+
result="one";
32+
break;
33+
default:
34+
result="unknown";
3535
}
3636

3737
// References
3838
// http://net.tutsplus.com/tutorials/javascript-ajax/the-essentials-of-writing-high-quality-javascript/
3939
</script>
4040
</body>
41-
</html>
41+
</html>

0 commit comments

Comments
(0)