Can edit settings on the embedding page

This commit is contained in:
Robin Ward
2015-08-20 13:43:12 -04:00
parent d1c69189f3
commit 146f2eab7f
12 changed files with 277 additions and 30 deletions
@@ -0,0 +1,12 @@
import { on, observes } from 'ember-addons/ember-computed-decorators';
import highlightSyntax from 'discourse/lib/highlight-syntax';
export default Ember.Component.extend({
@on('didInsertElement')
@observes('code')
_refresh: function() {
highlightSyntax(this.$());
}
});