OOPS, left debugging stuff in last push.
This commit is contained in:
parent
cd27ba3478
commit
6a3086843d
|
@ -31,7 +31,6 @@ export default Ember.Component.extend({
|
||||||
_initEditor: function() {
|
_initEditor: function() {
|
||||||
const self = this;
|
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() {
|
loadScript("/javascripts/ace/ace.js", { scriptTag: true }).then(function() {
|
||||||
ace.require(['ace/ace'], function(loadedAce) {
|
ace.require(['ace/ace'], function(loadedAce) {
|
||||||
const editor = loadedAce.edit(self.$('.ace')[0]);
|
const editor = loadedAce.edit(self.$('.ace')[0]);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<%
|
<%
|
||||||
if Rails.env.development? || Rails.env.test?
|
if Rails.env.development? || Rails.env.test?
|
||||||
require_asset ("ember-template-compiler.js")
|
require_asset ("ember-template-compiler.js")
|
||||||
require_asset ("ember.prod.js")
|
require_asset ("ember.custom.debug.js")
|
||||||
else
|
else
|
||||||
require_asset ("ember-template-compiler.js")
|
require_asset ("ember-template-compiler.js")
|
||||||
require_asset ("ember.prod.js")
|
require_asset ("ember.prod.js")
|
||||||
|
|
Loading…
Reference in New Issue