Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cover restoring, versioning, sanitize and new initialization structure #105

Merged
merged 15 commits into from
Jan 10, 2017
Prev Previous commit
Next Next commit
upd
  • Loading branch information
khaydarov committed Dec 19, 2016
commit 0b7f33058ed7dfcf50eda232e53e9a53d9f19423
10 changes: 1 addition & 9 deletions example.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,7 @@
textareaId : "codex_area",
tools : tools,
data : {
items: [
{
type : 'paragraph',
data : {
text : "The promise constructor takes one argument, a callback with two parameters, resolve and reject. Do something within the callback, perhaps async, then call resolve if everything worked, otherwise call reject.Like 'throw' in plain old JavaScript, it's customary, but not required, to reject with an Error object. The benefit of Error objects is they capture a stack trace, making debugging tools more helpful. Here's how you use that promise:",
},
cover : true
}
],
items: [],
count: 0
}
});
Expand Down