18 lines
1.1 KiB
JavaScript
18 lines
1.1 KiB
JavaScript
// tslint:disable:max-line-length no-any
|
|
// A file is required to be in the root of the /src directory by the TypeScript compiler
|
|
// Export services for classic SharePoint usage
|
|
export { TaxonomyNavigationService } from './services/TaxonomyNavigationService';
|
|
export { MegaMenuRenderer } from './extensions/megaMenu/MegaMenuRenderer';
|
|
export { UserCustomActionService } from './services/UserCustomActionService/UserCustomActionService';
|
|
export { UserCustomActionScope } from './services/UserCustomActionService/UserCustomActionScope';
|
|
if (typeof window !== 'undefined') {
|
|
window.__megaMenuServices = {
|
|
TaxonomyNavigationService: require('./services/TaxonomyNavigationService').TaxonomyNavigationService,
|
|
MegaMenuRenderer: require('./extensions/megaMenu/MegaMenuRenderer').MegaMenuRenderer,
|
|
UserCustomActionService: require('./services/UserCustomActionService/UserCustomActionService').UserCustomActionService,
|
|
UserCustomActionScope: require('./services/UserCustomActionService/UserCustomActionScope').UserCustomActionScope
|
|
};
|
|
}
|
|
|
|
//# sourceMappingURL=index.js.map
|