Import getURL to fix deprecation warnings (#52)
This commit is contained in:
parent
386635d693
commit
d643cf742e
|
@ -3,6 +3,7 @@ import { ajax } from "discourse/lib/ajax";
|
|||
import getURL from "discourse-common/lib/get-url";
|
||||
import Badge from "discourse/models/badge";
|
||||
import { default as computed } from "discourse-common/utils/decorators";
|
||||
import getURL from "discourse-common/lib/get-url";
|
||||
|
||||
function randomIdShort() {
|
||||
return "xxxxxxxx".replace(/[xy]/g, () => {
|
||||
|
|
|
@ -5,6 +5,7 @@ import {
|
|||
} from "discourse-common/utils/decorators";
|
||||
import getURL from "discourse-common/lib/get-url";
|
||||
import RestModel from "discourse/models/rest";
|
||||
import getURL from "discourse-common/lib/get-url";
|
||||
|
||||
const Query = RestModel.extend({
|
||||
dirty: false,
|
||||
|
|
Loading…
Reference in New Issue