mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 01:21:23 +08:00
OOPS, left debugging stuff in last push.
This commit is contained in:
@ -31,7 +31,6 @@ export default Ember.Component.extend({
|
||||
_initEditor: function() {
|
||||
const self = this;
|
||||
|
||||
// loadScript("https://meta-discourse.global.ssl.fastly.net/javascripts/ace/ace.js", { scriptTag: true }).then(function() {
|
||||
loadScript("/javascripts/ace/ace.js", { scriptTag: true }).then(function() {
|
||||
ace.require(['ace/ace'], function(loadedAce) {
|
||||
const editor = loadedAce.edit(self.$('.ace')[0]);
|
||||
|
Reference in New Issue
Block a user