define(function(t){var n=t("jquery"),i=t("editormd");t("../../src/js/languages/en"),console.log(n,i),n.get("./test.md",function(t){testEditor=i("test-editormd",{width:"90%",height:640,path:"../lib/",markdown:t,htmlDecode:!0,tex:!0,flowChart:!0,sequenceDiagram:!0,onload:function(){console.log("onload",this)}})}),n("#show-btn").bind("click",function(){testEditor.show()}),n("#hide-btn").bind("click",function(){testEditor.hide()}),n("#get-md-btn").bind("click",function(){alert(testEditor.getMarkdown())}),n("#get-html-btn").bind("click",function(){alert(testEditor.getHTML())}),n("#watch-btn").bind("click",function(){testEditor.watch()}),n("#unwatch-btn").bind("click",function(){testEditor.unwatch()}),n("#preview-btn").bind("click",function(){testEditor.previewing()}),n("#fullscreen-btn").bind("click",function(){testEditor.fullscreen()}),n("#show-toolbar-btn").bind("click",function(){testEditor.showToolbar()}),n("#close-toolbar-btn").bind("click",function(){testEditor.hideToolbar()})});