Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-html5-editor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no more stylus, cleanup
[peach-html5-editor.git]
/
demo.js
diff --git a/demo.js
b/demo.js
new file mode 100644
(file)
index 0000000..
0790371
--- /dev/null
+++ b/
demo.js
@@ -0,0
+1,7
@@
+(function() {
+ var button, in_el;
+ in_el = document.getElementById('in');
+ button = document.getElementById('button');
+ button.parentNode.removeChild(button);
+ window.editor = peach_html5_editor(in_el, {css_file: 'css.css'});
+}).call(this);