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