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) { if (color || textColor) {
let style = ""; let style = "";
if (color) { if (color) {
if (categoryStyle === "bar") { if (categoryStyle === "bar") {
style += `border-color: #${color};`; style += `border-color: #${color};`;
} else if (categoryStyle === "box") { } else if (categoryStyle === "box") {

View File

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

View File

@ -4,7 +4,7 @@ const SIZE = 144;
let width, height; 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']; '#652D90', '#92278F', '#ED207B', '#8C6238'];
class Particle { class Particle {
@ -45,7 +45,7 @@ export default Ember.Component.extend({
tagName: 'canvas', tagName: 'canvas',
ctx: null, ctx: null,
ready: false, ready: false,
particles: null, particles: null,
didInsertElement() { didInsertElement() {
this._super(); this._super();

View File

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