Reapply Ember 2.10 for good this time!

This reverts commit ddd299f4aaf25353cc2f47829d213623a3cf7590.
This commit is contained in:
Robin Ward
2016-12-19 11:19:10 -05:00
parent 5058911a7b
commit e03d5e2140
101 changed files with 1867 additions and 1274 deletions

View File

@ -36,6 +36,7 @@ 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");