Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial ES6 style guide #276

Merged
merged 17 commits into from
Apr 29, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removing a few trailing commas
goatslacker committed Apr 29, 2015

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 22e3c89d045e60fba240b07009bed07ba1797eaf
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -198,7 +198,7 @@
const obj = {
id: 5,
name: 'San Francisco',
[getKey('enabled')]: true,
[getKey('enabled')]: true
};
```

@@ -212,7 +212,7 @@

addValue: function (value) {
return atom.value + value;
},
}
};

// good
@@ -221,7 +221,7 @@

addValue(value) {
return atom.value + value;
},
}
};
```