( app: App, context: AppContext, render: RootRenderFunction<any>, )
| 330 | } |
| 331 | |
| 332 | export function installAppCompatProperties( |
| 333 | app: App, |
| 334 | context: AppContext, |
| 335 | render: RootRenderFunction<any>, |
| 336 | ): void { |
| 337 | installFilterMethod(app, context) |
| 338 | installLegacyOptionMergeStrats(app.config) |
| 339 | |
| 340 | if (!singletonApp) { |
| 341 | // this is the call of creating the singleton itself so the rest is |
| 342 | // unnecessary |
| 343 | return |
| 344 | } |
| 345 | |
| 346 | installCompatMount(app, context, render) |
| 347 | installLegacyAPIs(app) |
| 348 | applySingletonAppMutations(app) |
| 349 | if (__DEV__) installLegacyConfigWarnings(app.config) |
| 350 | } |
| 351 | |
| 352 | function installFilterMethod(app: App, context: AppContext) { |
| 353 | context.filters = {} |
no test coverage detected