Skip to content

Commit

Permalink
Bump for renderers to support cards
Browse files Browse the repository at this point in the history
  • Loading branch information
mixonic committed Jul 15, 2015
1 parent 82bcea7 commit 055776e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion demo/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ var ContentKitDemo = exports.ContentKitDemo = {
codePaneJSON.innerHTML = this.syntaxHighlight(mobiledoc);

var renderer = new MobiledocDOMRenderer();
var rendered = renderer.render(mobiledoc);
var rendered = renderer.render(mobiledoc, document.createElement('div'), {
/* cards */
});

$('#rendered-mobiledoc').empty();
$('#rendered-mobiledoc')[0].appendChild(rendered);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"broccoli-test-builder": "^0.1.0",
"content-kit-utils": "^0.2.0",
"jquery": "^2.1.4",
"mobiledoc-dom-renderer": "^0.1.4",
"mobiledoc-html-renderer": "^0.1.1",
"mobiledoc-dom-renderer": "^0.1.5",
"mobiledoc-html-renderer": "^0.1.2",
"testem": "^0.8.4"
}
}

0 comments on commit 055776e

Please sign in to comment.