summaryrefslogtreecommitdiffstats
path: root/STYLE-GUIDE.md
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-08-27 11:45:50 -0700
committerCorey Hulen <corey@hulen.com>2015-08-27 11:45:50 -0700
commit1d23d9db60786d020dbda34eb5c37bca51d116cb (patch)
treeb734de28abbf90bd07190d2e26847afabe6c76f1 /STYLE-GUIDE.md
parent6632f9229d9018cfc14278df3d388ba426060d73 (diff)
parentb0dcb50c75de0b12fb004f6f5bb94787f73eb530 (diff)
downloadchat-1d23d9db60786d020dbda34eb5c37bca51d116cb.tar.gz
chat-1d23d9db60786d020dbda34eb5c37bca51d116cb.tar.bz2
chat-1d23d9db60786d020dbda34eb5c37bca51d116cb.zip
Merge pull request #503 from willstacey/patch-1
Spelling error
Diffstat (limited to 'STYLE-GUIDE.md')
-rw-r--r--STYLE-GUIDE.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/STYLE-GUIDE.md b/STYLE-GUIDE.md
index 8fe2a50e8..470788cf5 100644
--- a/STYLE-GUIDE.md
+++ b/STYLE-GUIDE.md
@@ -85,14 +85,14 @@ var my_variable = 4;
```javascript
// Correct
-if (somthing) {
+if (something) {
stuff...;
} else if (otherthing) {
stuff...;
}
// Incorrect
-if (somthing)
+if (something)
{
stuff...;
}
@@ -102,8 +102,8 @@ else
}
// Incorrect
-if (somthing) stuff...;
-if (somthing)
+if (something) stuff...;
+if (something)
stuff...;
```