Skip to content

Commit

Permalink
Fixes mobiledoc sample & removes jQuery from usage
Browse files Browse the repository at this point in the history
- simpleMobiledoc sample was missing a closing bracket
- switched from jQuery to document.querySelector
  • Loading branch information
ErisDS committed Aug 5, 2015
1 parent 58ffbc8 commit dc99c85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ var simpleMobiledoc = {
[1, "p", [
[[], 0, "Welcome to Content-Kit"]
]]
]
]]
};
var element = $('#editor')[0];
var element = document.querySelector('#editor');
var options = { mobiledoc: simpleMobiledoc };
var editor = new ContentKit.Editor(element, options);
```
Expand Down

0 comments on commit dc99c85

Please sign in to comment.