mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 03:10:46 -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) {
|
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") {
|
||||||
|
@ -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,
|
||||||
|
@ -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();
|
||||||
|
@ -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/%@")
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user