From 3b76072e42c83b84e15530b9b993269bace325cc Mon Sep 17 00:00:00 2001 From: cbping-pc <452775680@qq.com> Date: Thu, 10 Nov 2016 22:20:28 +0800 Subject: [PATCH] update --- README.md | 1 + js/config.js | 2 +- js/view.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1931267..9071239 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ a web drawing board with canvas # Quick start * your.html ```html +
diff --git a/js/config.js b/js/config.js index 2e90644..df6b548 100644 --- a/js/config.js +++ b/js/config.js @@ -62,7 +62,7 @@ // window.CrysyanDefaultConfig = { - commom:{ + common:{ projectPath:"" }, submit: { diff --git a/js/view.js b/js/view.js index 43ba2d9..9283a35 100644 --- a/js/view.js +++ b/js/view.js @@ -14,7 +14,7 @@ ops = {}; } this.ops = {}; - this.ops.commom = $.extend($defaultConfig.submit, ops.commom || {}); + this.ops.common = $.extend($defaultConfig.submit, ops.common || {}); this.ops.submit = $.extend($defaultConfig.submit, ops.submit || {}); this.ops.canvas = $.extend($defaultConfig.canvas, ops.canvas || {}); this.ops.toolbar = $.extend($defaultConfig.toolbar, ops.toolbar || {});