From f9d9f30d3b8c005c32ef3e09682dd42c0ce6abdd Mon Sep 17 00:00:00 2001 From: pmw57 Date: Mon, 6 May 2013 17:28:53 +1200 Subject: [PATCH] Aligning case with switch, as according to the st --- general-patterns/switch-pattern.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/general-patterns/switch-pattern.html b/general-patterns/switch-pattern.html index a78cab5..514fc44 100644 --- a/general-patterns/switch-pattern.html +++ b/general-patterns/switch-pattern.html @@ -24,18 +24,18 @@ var inspect_me = 0, result = ''; switch (inspect_me) { - case 0: - result = "zero"; - break; - case 1: - result = "one"; - break; - default: - result = "unknown"; + case 0: + result = "zero"; + break; + case 1: + result = "one"; + break; + default: + result = "unknown"; } // References // http://net.tutsplus.com/tutorials/javascript-ajax/the-essentials-of-writing-high-quality-javascript/ - \ No newline at end of file +