mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
Make eslint happy.
This commit is contained in:
parent
c8eba5d20c
commit
93fe76fc02
@ -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") {
|
||||
|
@ -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,
|
||||
|
@ -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();
|
||||
|
@ -90,7 +90,7 @@ QUnit.test("i18n", assert => {
|
||||
|
||||
QUnit.test("url", assert => {
|
||||
var t, testClass;
|
||||
|
||||
|
||||
testClass = Em.Object.extend({
|
||||
userUrl: url('username', "/u/%@")
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user