From 7a9c987e560643eea3ff2c65768a2235dcb727be Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Tue, 15 May 2018 19:49:50 +0300 Subject: [PATCH] refactor(aio): order custom elements by selector (#23944) PR Close #23944 --- .../app/custom-elements/element-registry.ts | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/aio/src/app/custom-elements/element-registry.ts b/aio/src/app/custom-elements/element-registry.ts index ca7fed36f4..9d07396ed5 100644 --- a/aio/src/app/custom-elements/element-registry.ts +++ b/aio/src/app/custom-elements/element-registry.ts @@ -13,8 +13,8 @@ export const ELEMENT_MODULE_PATHS_AS_ROUTES = [ loadChildren: './api/api-list.module#ApiListModule' }, { - selector: 'live-example', - loadChildren: './live-example/live-example.module#LiveExampleModule' + selector: 'aio-contributor-list', + loadChildren: './contributor/contributor-list.module#ContributorListModule' }, { selector: 'aio-file-not-found-search', @@ -25,25 +25,25 @@ export const ELEMENT_MODULE_PATHS_AS_ROUTES = [ loadChildren: './resource/resource-list.module#ResourceListModule' }, { - selector: 'current-location', - loadChildren: './current-location/current-location.module#CurrentLocationModule' - }, - { - selector: 'aio-contributor-list', - loadChildren: './contributor/contributor-list.module#ContributorListModule' + selector: 'code-example', + loadChildren: './code/code-example.module#CodeExampleModule' }, { selector: 'code-tabs', loadChildren: './code/code-tabs.module#CodeTabsModule' }, { - selector: 'code-example', - loadChildren: './code/code-example.module#CodeExampleModule' + selector: 'current-location', + loadChildren: './current-location/current-location.module#CurrentLocationModule' }, { selector: 'expandable-section', loadChildren: './expandable-section/expandable-section.module#ExpandableSectionModule' - } + }, + { + selector: 'live-example', + loadChildren: './live-example/live-example.module#LiveExampleModule' + }, ]; /**