mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 01:21:23 +08:00
Revert Ember 2.10+ for a short while
This commit is contained in:
@ -36,7 +36,6 @@ export default Ember.Component.extend({
|
||||
|
||||
loadScript("/javascripts/ace/ace.js", { scriptTag: true }).then(() => {
|
||||
window.ace.require(['ace/ace'], loadedAce => {
|
||||
if (!this.element || this.isDestroying || this.isDestroyed) { return; }
|
||||
const editor = loadedAce.edit(this.$('.ace')[0]);
|
||||
|
||||
editor.setTheme("ace/theme/chrome");
|
||||
|
Reference in New Issue
Block a user