Skip to content

Commit efba661

Browse files
committed
Fix in JSRootMath.js, found with "use strict"
1 parent 8a4871a commit efba661

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/JSRootMath.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -696,12 +696,10 @@
696696
if (mm >= 0) return Math.sqrt(mm);
697697
return -Math.sqrt(-mm);
698698
}
699-
m.Perp2 = Pt2 = function() { return this.fX*this.fX + this.fY*this.fY;}
699+
m.Perp2 = m.Pt2 = function() { return this.fX*this.fX + this.fY*this.fY;}
700700
}
701701
}
702702

703-
704-
705703
return JSROOT;
706704

707705
}));

0 commit comments

Comments
 (0)