OOPS, left debugging stuff in last push.

This commit is contained in:
Robin Ward 2015-05-14 12:48:12 -04:00
parent cd27ba3478
commit 6a3086843d
2 changed files with 1 additions and 2 deletions

View File

@ -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]);

View File

@ -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")