new Tool('eraser', { cursor: 'crosshair', brushPreview: true, }); new Tool('resizeeraser', { cursor: 'default', }); /*global Tool, tool*/