scratch – Blame information for rev 84

Subversion Repositories:
Rev:
Rev Author Line No. Line
84 office 1 DrawingBoard.Control.Download = DrawingBoard.Control.extend({
2  
3 name: 'download',
4  
5 initialize: function() {
6 this.$el.append('<button class="drawing-board-control-download-button"></button>');
7 this.$el.on('click', '.drawing-board-control-download-button', $.proxy(function(e) {
8 this.board.downloadImg();
9 e.preventDefault();
10 }, this));
11 }
12  
13 });