Skip to content

Commit 4bd2987

Browse files
committed
Fix lint error
1 parent 429c6fd commit 4bd2987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -494,9 +494,9 @@ lib.setPointScale = function(selection, x, y) {
494494
// A regex to strip any existing scale:
495495
var re = /sc.*/;
496496

497-
selection.each(function(p) {
497+
selection.each(function() {
498498
// Get the transform:
499-
var t = this.getAttribute('transform').replace(re,'');
499+
var t = this.getAttribute('transform').replace(re, '');
500500

501501
// Append the scale transform
502502
this.setAttribute('transform', t + scale);

0 commit comments

Comments
 (0)