mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 10:32:44 +08:00
FIX: Customizations were broken
This commit is contained in:
parent
a291944835
commit
6d7e8bd68b
|
@ -1,6 +1,6 @@
|
|||
/* global ace:true */
|
||||
import loadScript from 'discourse/lib/load-script';
|
||||
import escapeExpression from 'discourse/lib/utilities';
|
||||
import { escapeExpression } from 'discourse/lib/utilities';
|
||||
|
||||
export default Ember.Component.extend({
|
||||
mode: 'css',
|
||||
|
|
|
@ -10,7 +10,7 @@ componentTest('css editor', {
|
|||
});
|
||||
|
||||
componentTest('html editor', {
|
||||
template: '{{ace-editor mode="html"}}',
|
||||
template: '{{ace-editor mode="html" content="<b>wat</b>"}}',
|
||||
test(assert) {
|
||||
assert.ok(this.$('.ace_editor').length, 'it renders the ace editor');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user