Make eslint happy.

This commit is contained in:
Guo Xiang Tan 2017-08-21 21:56:22 +09:00
parent c8eba5d20c
commit 93fe76fc02
4 changed files with 5 additions and 5 deletions

View File

@ -72,7 +72,7 @@ export default Ember.Component.extend({
if (color || textColor) {
let style = "";
if (color) {
if (color) {
if (categoryStyle === "bar") {
style += `border-color: #${color};`;
} else if (categoryStyle === "box") {

View File

@ -92,7 +92,7 @@ createWidget('header-dropdown', jQuery.extend({
return h(
'a.icon.btn-flat',
{ attributes: {
{ attributes: {
href: attrs.href,
'data-auto-route': true,
title,

View File

@ -4,7 +4,7 @@ const SIZE = 144;
let width, height;
const COLORS = ['#BF1E2E', '#F1592A', '#F7941D', '#9EB83B', '#3AB54A', '#12A89D', '#25AAE2', '#0E76BD',
const COLORS = ['#BF1E2E', '#F1592A', '#F7941D', '#9EB83B', '#3AB54A', '#12A89D', '#25AAE2', '#0E76BD',
'#652D90', '#92278F', '#ED207B', '#8C6238'];
class Particle {
@ -45,7 +45,7 @@ export default Ember.Component.extend({
tagName: 'canvas',
ctx: null,
ready: false,
particles: null,
particles: null,
didInsertElement() {
this._super();

View File

@ -90,7 +90,7 @@ QUnit.test("i18n", assert => {
QUnit.test("url", assert => {
var t, testClass;
testClass = Em.Object.extend({
userUrl: url('username', "/u/%@")
});