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
finish fixing scrollbar
[peach-html5-editor.git]
/
editor_tests.coffee
diff --git
a/editor_tests.coffee
b/editor_tests.coffee
index
4b995bb
..
7297567
100644
(file)
--- a/
editor_tests.coffee
+++ b/
editor_tests.coffee
@@
-1,9
+1,4
@@
in_el = document.getElementById 'in'
in_el = document.getElementById 'in'
-out_el = document.getElementById 'out'
button = document.getElementById 'button'
button = document.getElementById 'button'
-button.onclick = ->
- editor = wheic.wysiwyg in_el
- out_el.value = wheic.dom_to_html editor.dom
- return false
-button.value="Cleanup"
-button.removeAttribute 'disabled'
+button.parentNode.removeChild button
+window.editor = peach_html5_editor in_el