Browse Source

update examples & other

mathjax-version
Pandao 10 years ago
parent
commit
a1dcd56c27
  1. 2
      docs/html/index.html
  2. 3
      examples/onchange.html
  3. 4
      examples/onload.html
  4. 6
      src/js/editormd.js

2
docs/html/index.html

@ -114,7 +114,7 @@
<br clear="both">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha5</a> on Sat Feb 07 2015 19:42:31 GMT+0800 (中国标准时间)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha5</a> on Sat Feb 07 2015 21:21:44 GMT+0800 (中国标准时间)
</footer>
<script> prettyPrint(); </script>

3
examples/onchange.html

@ -8,7 +8,8 @@
<body>
<div id="layout">
<header>
<h1>Onchange event</h1>
<h1>Onchange event</h1>
<p>Enter F12 open the develop tools</p>
</header>
<div class="editormd" id="test-editormd">
<script type="text/markdown">###Hello world!</script>

4
examples/onload.html

@ -8,7 +8,8 @@
<body>
<div id="layout">
<header>
<h1>Onload event</h1>
<h1>Onload event</h1>
<p>Enter F12 open the develop tools</p>
</header>
<div class="editormd" id="test-editormd">
<script type="text/markdown">###Hello world!</script>
@ -24,6 +25,7 @@
height : 720,
path : '../lib/',
onload : function() {
alert("onload");
console.log("onload =>", this, this.id, this.settings);
}
});

6
src/js/editormd.js

@ -1,3 +1,9 @@
/**
* @fileOverview Editor.md
* @author pandao
* @version 1.0.0
*/
;(function(factory) {
"use strict";

Loading…
Cancel
Save