Hook up package URL handlers

This commit is contained in:
Michelle Tilley
2017-09-18 18:53:46 -07:00
parent a7b52ee9cb
commit b4f73f254d
2 changed files with 28 additions and 1 deletions

View File

@@ -648,6 +648,10 @@ module.exports = class PackageManager {
})
}
registerUrlHandlerForPackage (packageName, handler) {
return this.urlHandlerRegistry.registerHostHandler(packageName, handler)
}
// another type of package manager can handle other package types.
// See ThemeManager
registerPackageActivator (activator, types) {