diff options
author | Patrick Simianer <p@simianer.de> | 2015-10-28 12:51:34 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-10-28 12:51:34 +0100 |
commit | 6e9a6af5cf05ffb4c3b81fdb74d121b626c550ba (patch) | |
tree | 9f9ce3eb9a984b4932595a1f4c1f56a9ed0c5119 /demo.html | |
parent | 5424ee273e784786b7b704e2f8391f2df7f37376 (diff) |
demo
Diffstat (limited to 'demo.html')
-rw-r--r-- | demo.html | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -4,19 +4,20 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>derivation editor</title> - <script src="raphael.js" type="text/javascript" charset="utf-8"></script> - <!--<script src="Raphael.InlineTextEditing/raphael.inline_text_editing.js" charset="utf-8"></script>--> + <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js" charset="utf-8"></script> + <script src="https://raw.githubusercontent.com/DmitryBaranovskiy/raphael/v2.1.2/raphael-min.js" type="text/javascript" charset="utf-8"></script> <script src="https://raw.githubusercontent.com/marmelab/Raphael.InlineTextEditing/fd578f0eddd4172e6d9b3fde4cb67576cf546dc1/raphael.inline_text_editing.js" charset="utf-8"></script> - <script src="edit.js" type="text/javascript" charset="utf-8"></script> + <script src="dummy.js" type="text/javascript" charset="utf-8"></script> + <script src="derivation-editor.js" type="text/javascript" charset="utf-8"></script> </head> -<body> +<body onload="_demo()"> <div id="derivation_editor"> <div id="holder"></div> </div> - <input type="button" value="+" onClick="add_obj()" /> - <input type="button" value="reset" onClick="reset();" /> - <input type="button" value="D" onClick="extract_data()" /> - <pre id="data"> + <input type="button" value="+" onclick="DE_add_object()" /> + <input type="button" value="reset" onclick="DE_init();" /> + <input type="button" value="D" onclick="DE_extract_data()" /> + <pre id="data"></pre> <pre id="debug" style="background:red;width:100%"></pre> </pre> <h3>Instructions</h3> @@ -29,7 +30,7 @@ <li><strong>reset:</strong> click 'reset' button to start from scratch</li> <li><strong>show recorded data:</strong>click 'D' button</li> </ul> - <h3>TODO</h3> +<!-- <h3>TODO</h3> <ul> <li><strike>edit text and resize, move (dblclick)</strike></li> <li><strike>remove objs (move to special field)</strike></li> @@ -45,7 +46,7 @@ <li>instructions should be rewritten</li> <li>no undo</li> <li>source side is fixed</li> - </ul> + </ul> --> </body> </html> |