DEV: prettier 2.2.1 (#89)

This commit is contained in:
Joffrey JAFFEUX
2021-01-27 10:38:56 +01:00
committed by GitHub
parent ec08e1a29c
commit 8ab94e334c
6 changed files with 14 additions and 14 deletions
@@ -1,7 +1,7 @@
import {
default as computed,
on,
observes,
on,
} from "discourse-common/utils/decorators";
export default Ember.Component.extend({
@@ -70,7 +70,7 @@ const QueryResultComponent = Ember.Component.extend({
@computed("params.[]")
parameterAry(params) {
let arr = [];
for (var key in params) {
for (let key in params) {
if (params.hasOwnProperty(key)) {
arr.push({ key, value: params[key] });
}
@@ -1,7 +1,7 @@
import Handlebars from "handlebars";
import { categoryLinkHTML } from "discourse/helpers/category-link";
import { autoUpdatingRelativeAge } from "discourse/lib/formatter";
import { iconHTML, convertIconClass } from "discourse-common/lib/icon-library";
import { convertIconClass, iconHTML } from "discourse-common/lib/icon-library";
function icon_or_image_replacement(str, ctx) {
str = Ember.get(ctx.contexts[0], str);
@@ -1,7 +1,7 @@
import {
default as computed,
on,
observes,
on,
} from "discourse-common/utils/decorators";
import getURL from "discourse-common/lib/get-url";
import RestModel from "discourse/models/rest";