X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=blobdiff_plain;f=demo.js;fp=demo.js;h=0790371dedf4419289727b658512e188b3453cff;hp=0000000000000000000000000000000000000000;hb=3921e6882e71840a3422852d3381f1f8afdc9935;hpb=447762cf08b157e951670256bd0d5b6fcf2e3cd1 diff --git a/demo.js b/demo.js new file mode 100644 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);