mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 19:43:45 +08:00
48193767bf
Automatically generated by `eslint --fix` to satisfy the updated configuration
12 lines
354 B
JavaScript
12 lines
354 B
JavaScript
import Component from "@ember/component";
|
|
import { observes, on } from "@ember-decorators/object";
|
|
import highlightSyntax from "discourse/lib/highlight-syntax";
|
|
|
|
export default class HighlightedCode extends Component {
|
|
@on("didInsertElement")
|
|
@observes("code")
|
|
_refresh() {
|
|
highlightSyntax(this.element, this.siteSettings, this.session);
|
|
}
|
|
}
|