[whitespace] add dots for whitespace examples

This commit is contained in:
Harrison Shoff
2015-04-02 09:12:33 -07:00
parent 2d15deca86
commit 369fdb8f56

View File

@@ -786,7 +786,7 @@
}
// good
function test() {
function test(){
console.log('test');
}
@@ -797,7 +797,7 @@
});
// good
dog.set('attr', {
dog.set('attr',{
age: '1 year',
breed: 'Bernese Mountain Dog'
});
@@ -808,7 +808,7 @@
```javascript
// bad
if(isJedi) {
fight ();
fight();
}
// good
@@ -817,7 +817,7 @@
}
// bad
function fight () {
function fight() {
console.log ('Swooosh!');
}
@@ -834,7 +834,7 @@
var x=y+5;
// good
var x = y + 5;
var x∙=∙y∙+∙5;
```
- End files with a single newline character.