From a1dcd56c275afa65167ca81779cc160454bf17ed Mon Sep 17 00:00:00 2001 From: Pandao Date: Sat, 7 Feb 2015 21:23:11 +0800 Subject: [PATCH] update examples & other --- docs/html/index.html | 2 +- examples/onchange.html | 3 ++- examples/onload.html | 4 +++- src/js/editormd.js | 6 ++++++ 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/html/index.html b/docs/html/index.html index 52a19e8..5d00fb1 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -114,7 +114,7 @@
diff --git a/examples/onchange.html b/examples/onchange.html index 084d643..6dd9c6f 100644 --- a/examples/onchange.html +++ b/examples/onchange.html @@ -8,7 +8,8 @@
-

Onchange event

+

Onchange event

+

Enter F12 open the develop tools

diff --git a/examples/onload.html b/examples/onload.html index 513ab47..6d2dc24 100644 --- a/examples/onload.html +++ b/examples/onload.html @@ -8,7 +8,8 @@
-

Onload event

+

Onload event

+

Enter F12 open the develop tools

@@ -24,6 +25,7 @@ height : 720, path : '../lib/', onload : function() { + alert("onload"); console.log("onload =>", this, this.id, this.settings); } }); diff --git a/src/js/editormd.js b/src/js/editormd.js index 1d36f06..f5b0b5e 100644 --- a/src/js/editormd.js +++ b/src/js/editormd.js @@ -1,3 +1,9 @@ +/** + * @fileOverview Editor.md + * @author pandao + * @version 1.0.0 + */ + ;(function(factory) { "use strict";