Bump version to 5.0.1 and update argument names for clarity in helper functions

This commit is contained in:
Harsh Kumar Gupta 2024-12-19 15:52:14 +05:30
parent 33c3d4b380
commit 15627ee18e
2 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "openseadragon",
"version": "5.0.0",
"version": "5.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "openseadragon",
"version": "5.0.0",
"version": "5.0.1",
"license": "BSD-3-Clause",
"devDependencies": {
"eslint-plugin-compat": "^4.1.2",

View File

@ -59,8 +59,8 @@
},
// ----------
equalsWithVariance: function (actual, expected, variance) {
return Math.abs(actual - expected) <= variance;
equalsWithVariance: function (value1, value2, variance) {
return Math.abs(value1 - value2) <= variance;
},
// ----------