lint compliance

pull/1/head
yflory 4 years ago
parent 3952b2f013
commit 96362b20b1

@ -53,7 +53,6 @@ define([
var $type = $('.cp-whiteboard-type'); var $type = $('.cp-whiteboard-type');
var $brush = $('.cp-whiteboard-type .brush'); var $brush = $('.cp-whiteboard-type .brush');
var $move = $('.cp-whiteboard-type .move'); var $move = $('.cp-whiteboard-type .move');
var $history = $('.cp-whiteboard-history');
var $undo = $('.cp-whiteboard-history .undo'); var $undo = $('.cp-whiteboard-history .undo');
var $redo = $('.cp-whiteboard-history .redo'); var $redo = $('.cp-whiteboard-history .redo');
var $text = $('.cp-whiteboard-text button'); var $text = $('.cp-whiteboard-text button');
@ -143,7 +142,7 @@ define([
$text.click(function () { $text.click(function () {
$move.click(); $move.click();
canvas.add(new fabric.Textbox('My Text', { canvas.add(new Fabric.Textbox('My Text', {
fill: brush.color, fill: brush.color,
top: 5, top: 5,
left: 5 left: 5

Loading…
Cancel
Save