(obj, context)
| 82 | export function makeDependencySerializable(webPackWithAlphaTab: webPackWithAlphaTab, dependency: any, key: string) { |
| 83 | webPackWithAlphaTab.webpack.util.serialization.register(dependency, key, null, { |
| 84 | serialize(obj, context) { |
| 85 | obj.serialize(context); |
| 86 | }, |
| 87 | deserialize(context) { |
| 88 | if (typeof dependency.deserialize === 'function') { |
| 89 | return dependency.deserialize(context); |