mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
@@ -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...;
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user