FIX: Customizations were broken

This commit is contained in:
Robin Ward
2016-07-05 11:03:10 -04:00
parent a291944835
commit 6d7e8bd68b
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -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');
} }