<commit_before>function EraserTool() {
	this.name = 'eraser';
	this.buttonImage = 'eraser.png';
	this.buttonImageSelected = 'eraser_select.png';
}

EraserTool.prototype.onButtonClick = function() {
	return true;
};

EraserTool.prototype.makeToolHead = function() {
	return new PencilHead('eraser', '#dddddd', 30, 'straight');
};

EraserTool.prototype.drawFull = function(data) {
	drawLine(data.points, context_picture, '#ffffff', 30);
};

whiteboard.makeTool(new EraserTool());<commit_msg>Eraser path is no longer grey<commit_after>function EraserTool() {
	this.name = 'eraser';
	this.buttonImage = 'eraser.png';
	this.buttonImageSelected = 'eraser_select.png';
}

EraserTool.prototype.onButtonClick = function() {
	return true;
};

EraserTool.prototype.makeToolHead = function() {
	return new PencilHead('eraser', '#ffffff', 30, 'straight');
};

EraserTool.prototype.drawFull = function(data) {
	drawLine(data.points, context_picture, '#ffffff', 30);
};

whiteboard.makeTool(new EraserTool());
{'fraction_non_alphanumeric': 0.15694164989939638, 'fraction_numerical': 0.008048289738430584, 'mean_word_length': 6.425373134328358, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7210336', 'n_tokens_mistral': 353, 'n_tokens_neox': 345, 'n_words': 60}