Skip to content

Commit 36e9d02

Browse files
Revert "[Refactor] TabsComponent to CodeComponent custom element "
1 parent 9351204 commit 36e9d02

File tree

24 files changed

+2102
-1048
lines changed

24 files changed

+2102
-1048
lines changed

package-lock.json

Lines changed: 1980 additions & 876 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"@angular/common": "9.1.2",
2626
"@angular/compiler": "9.1.2",
2727
"@angular/core": "9.1.2",
28-
"@angular/elements": "9.1.2",
2928
"@angular/flex-layout": "8.0.0-beta.27",
3029
"@angular/forms": "9.1.2",
3130
"@angular/http": "7.2.16",

src/app/app.module.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { HttpClientModule } from '@angular/common/http';
2-
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
2+
import { NgModule } from '@angular/core';
33
import { BrowserModule } from '@angular/platform-browser';
44
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
55
import {
@@ -35,23 +35,20 @@ import { BasePageComponent } from './homepage/pages/page/page.component';
3535
import { PipesComponent } from './homepage/pages/pipes/pipes.component';
3636
import { SupportComponent } from './homepage/pages/support/support.component';
3737
import { SharedModule } from './shared/shared.module';
38-
import { CustomElementsModule } from './custom-elements/custom-elements.module';
3938

4039
const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = {
4140
suppressScrollX: true,
4241
wheelPropagation: true,
4342
};
4443

4544
@NgModule({
46-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
4745
imports: [
4846
BrowserModule,
4947
BrowserAnimationsModule,
5048
AppRoutingModule,
5149
HttpClientModule,
5250
PerfectScrollbarModule,
5351
SharedModule,
54-
CustomElementsModule,
5552
],
5653
declarations: [
5754
AppComponent,

src/app/custom-elements/README.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/app/custom-elements/code/code.component.html

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/app/custom-elements/code/code.component.scss

Lines changed: 0 additions & 45 deletions
This file was deleted.

src/app/custom-elements/code/code.component.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/app/custom-elements/custom-elements.module.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/app/homepage/pages/cli/cli.module.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CommonModule } from '@angular/common';
2-
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
2+
import { NgModule } from '@angular/core';
33
import { RouterModule, Routes } from '@angular/router';
44
import { SharedModule } from './../../../shared/shared.module';
55
import { CliLibrariesComponent } from './libraries/libaries.component';
@@ -51,7 +51,6 @@ const routes: Routes = [
5151
];
5252

5353
@NgModule({
54-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
5554
imports: [CommonModule, SharedModule, RouterModule.forChild(routes)],
5655
declarations: [
5756
CliOverviewComponent,

src/app/homepage/pages/faq/faq.module.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CommonModule } from '@angular/common';
2-
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
2+
import { NgModule } from '@angular/core';
33
import { RouterModule, Routes } from '@angular/router';
44
import { SharedModule } from '../../../shared/shared.module';
55
import { GlobalPrefixComponent } from './global-prefix/global-prefix.component';
@@ -37,7 +37,6 @@ const routes: Routes = [
3737
];
3838

3939
@NgModule({
40-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
4140
imports: [CommonModule, SharedModule, RouterModule.forChild(routes)],
4241
declarations: [
4342
GlobalPrefixComponent,

0 commit comments

Comments
 (0)