mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-18 08:41:45 +03:00
Bump version to 5.0.1 and update argument names for clarity in helper functions
This commit is contained in:
parent
33c3d4b380
commit
15627ee18e
4
package-lock.json
generated
4
package-lock.json
generated
@ -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",
|
||||
|
@ -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;
|
||||
},
|
||||
|
||||
// ----------
|
||||
|
Loading…
x
Reference in New Issue
Block a user