Make eslint happy.

This commit is contained in:
Guo Xiang Tan 2016-06-10 11:40:21 +08:00
parent 30e4b17de8
commit a496574e93
No known key found for this signature in database
GPG key ID: 19C321C8952B0F72

View file

@ -27,7 +27,7 @@ export default createWidget('post-links', {
},
html(attrs, state) {
if (!this.attrs.links || this.attrs.links.length == 0) {
if (!this.attrs.links || this.attrs.links.length === 0) {
// shortcut all work
return;
}