Skip to content

Commit

Permalink
WIP 4
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Dec 4, 2023
1 parent 7a69f0a commit ac07494
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/instrument/tracking.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ function insertTrackerCodeIntoFunctionParams(
// Create object pattern to use as rest element.
// `{ [ livepack_tracker(...) ]: [] = [] }`
// Assignments will be added to each side of `[] = []` to init vars and assign to them.
// If no tracker to insert (class constructor where class has prototype properties),
// substitute `livepack_getScopeId.dummySymbol` for tracker.
const leftNodes = [],
rightNodes = [],
propNodes = [
Expand Down

0 comments on commit ac07494

Please sign in to comment.