Failed to ignore revisions in .git-blame-ignore-revs.

9 lines
312 B
JavaScript
Raw Normal View History

2018-06-15 17:03:24 +02:00
import { registerUnbound } from "discourse-common/lib/helpers";
import { renderIcon } from "discourse-common/lib/icon-library";
import { htmlSafe } from "@ember/template";
2018-06-15 17:03:24 +02:00
registerUnbound("check-icon", function(value) {
let icon = value ? "check" : "times";
return htmlSafe(renderIcon("string", icon));
});