(args: EventData)
| 75 | } |
| 76 | |
| 77 | export function makeReusable(args: EventData) { |
| 78 | console.log('loaded:', args.object); |
| 79 | // console.log("making reusable"); |
| 80 | if ((args.object as any).___reusableRan) { |
| 81 | return; |
| 82 | } |
| 83 | (args.object as any).___reusableRan = true; |
| 84 | (args.object as any).reusable = true; |
| 85 | if (args.object === reusableItem) { |
| 86 | updateVcToggleText(); |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | export function onReusableUnloaded(args: EventData) { |
| 91 | console.log('unloaded:', args.object); |
nothing calls this directly
no test coverage detected