File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- <!DOCTYPE html>
1+ <!doctype html>
22< html >
33 < head >
44 < meta charset ="utf-8 " />
Original file line number Diff line number Diff line change 1- import "./main.css"
1+ import "./main.css" ;
22
33DrawingBoard . Control . Menu = DrawingBoard . Control . extend ( {
44 name : "menu" ,
55 initialize : function ( ) {
66 this . $el . append (
7- '<button id="menu-btn"></button><div id="dropdown-content"><a href="#" id="import-menuitem">Open...</a><a href="#" id="share-menuitem">Share</a></div>'
7+ '<button id="menu-btn"></button><div id="dropdown-content"><a href="#" id="import-menuitem">Open...</a><a href="#" id="share-menuitem">Share</a></div>' ,
88 ) ;
99
1010 this . $el . on ( "click" , "#menu-btn" , function ( e ) {
@@ -37,7 +37,7 @@ DrawingBoard.Control.Menu = DrawingBoard.Control.extend({
3737 reader . readAsDataURL ( files [ 0 ] ) ;
3838 } ) ;
3939 e . preventDefault ( ) ;
40- } , this )
40+ } , this ) ,
4141 ) ;
4242
4343 this . $el . on (
@@ -49,7 +49,7 @@ DrawingBoard.Control.Menu = DrawingBoard.Control.extend({
4949 file : { name : "draw.png" , base64 : b64Data } ,
5050 } ) ;
5151 e . preventDefault ( ) ;
52- } , this )
52+ } , this ) ,
5353 ) ;
5454 } ,
5555} ) ;
You can’t perform that action at this time.
0 commit comments