Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
BPing committed Nov 10, 2016
1 parent 51a5a98 commit 3b76072
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ a web drawing board with canvas
# Quick start
* your.html
```html
<!--<script src="jquery-3.1.1.min.js"></script>-->
<div style="width:1000px; height:1000px;" class="crysyan-designer"></div>
<!-- include the crysyan-designer.js -->
<script src="projectPath/js/crysyan-designer.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

//
window.CrysyanDefaultConfig = {
commom:{
common:{
projectPath:""
},
submit: {
Expand Down
2 changes: 1 addition & 1 deletion js/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {});
Expand Down

0 comments on commit 3b76072

Please sign in to comment.