Skip to content

Commit 594893f

Browse files
committed
IsolateNode: Cleanup
1 parent f78c89f commit 594893f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/nodes/core/IsolateNode.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ class IsolateNode extends Node {
2121
* Constructs a new cache node.
2222
*
2323
* @param {Node} node - The node that should be cached.
24-
* @param {Node} [scope=null] - The scope node that defines the cache context.
24+
* @param {boolean} [parent=true] - Whether this node refers to a shared parent cache or not.
2525
*/
26-
constructor( node ) {
26+
constructor( node, parent = true ) {
2727

2828
super();
2929

@@ -111,7 +111,6 @@ export default IsolateNode;
111111
*/
112112
export const isolate = ( node ) => new IsolateNode( nodeObject( node ) );
113113

114-
115114
/**
116115
* TSL function for creating a cache node.
117116
*

0 commit comments

Comments
 (0)