Skip to content

Commit

Permalink
use ember-mobiledoc-dom-renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
bantic committed Nov 12, 2015
1 parent 1d9b124 commit fb8fd2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion demo/app/components/mobiledoc-dom-renderer.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import Ember from 'ember';
import { cardsHash } from '../mobiledoc-cards/index';
import Renderer from 'ember-mobiledoc-dom-renderer';

let { computed, run } = Ember;

export default Ember.Component.extend({
domRenderer: computed(function(){
return new window.MobiledocDOMRenderer();
return new Renderer();
}),
didRender() {
let domRenderer = this.get('domRenderer');
Expand Down
2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"ember-mobiledoc-editor": "0.2.0-beta1",
"ember-disable-proxy-controllers": "^1.0.0",
"ember-export-application-global": "^1.0.3",
"mobiledoc-dom-renderer": "^0.1.13"
"ember-mobiledoc-dom-renderer": ""
}
}

0 comments on commit fb8fd2d

Please sign in to comment.