@cornerstonejs/core 1.50.2 → 1.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/cache/cache.js +1 -0
- package/dist/cjs/cache/cache.js.map +1 -1
- package/dist/esm/cache/cache.js +1 -0
- package/dist/esm/cache/cache.js.map +1 -1
- package/dist/types/cache/cache.d.ts.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +2 -2
- package/src/cache/cache.ts +1 -0
- package/src/utilities/eventListener/TargetEventListeners.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"type": "individual",
|
|
48
48
|
"url": "https://ohif.org/donate"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "a4ca4dde651d17e658a4aec5a4e3ec1b274dc580"
|
|
51
51
|
}
|
package/src/cache/cache.ts
CHANGED
|
@@ -9,8 +9,8 @@ type ListenersMap = Map<EventListener, EventListenerPhases>;
|
|
|
9
9
|
/**
|
|
10
10
|
* TargetEventListeners adds support for event types with namespace, allow
|
|
11
11
|
* removing events without having to pass a callback and makes it possible to
|
|
12
|
-
* remove all event listeners in a much simpler avoiding leaving listeners
|
|
13
|
-
* which would result in memory leaks.
|
|
12
|
+
* remove all event listeners in a much simpler way avoiding leaving listeners
|
|
13
|
+
* behind which would result in memory leaks.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* Creating a new TargetEventListeners instance
|