DEV: apply new coding standards (#10592)

This commit is contained in:
Joffrey JAFFEUX
2020-09-04 13:42:47 +02:00
committed by GitHub
parent 80dfaeb0d2
commit 52672b9eab
1473 changed files with 9386 additions and 9958 deletions
+5 -5
View File
@@ -7,10 +7,10 @@ import { buildResolver } from "discourse-common/resolver";
import { currentSettings } from "helpers/site-settings";
const CatAdapter = RestAdapter.extend({
primaryKey: "cat_id"
primaryKey: "cat_id",
});
export default function(customLookup = () => {}) {
export default function (customLookup = () => {}) {
const resolver = buildResolver("discourse").create();
return Store.create({
@@ -51,9 +51,9 @@ export default function(customLookup = () => {}) {
const split = type.split(":");
return resolver.customResolve({
type: split[0],
fullNameWithoutType: split[1]
fullNameWithoutType: split[1],
});
}
}
},
},
});
}