Skip to content

Commit

Permalink
fix: rename snippet class name and selector
Browse files Browse the repository at this point in the history
  • Loading branch information
shanmukhateja committed Jan 12, 2021
1 parent a174da2 commit 0d28c6a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions demo/src/app/advanced/using-ng-pipe-snippet.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'app-using-pipe-snippet',
selector: 'app-using-ng-pipe-snippet',
template: `
<div id="html" class="col s12 m9 l12">
<h4 class="header">HTML</h4>
Expand All @@ -13,7 +13,7 @@ import { Component, OnInit } from '@angular/core';
</div>
`
})
export class UsingPipeSnippetComponent implements OnInit {
export class UsingNgPipeSnippetComponent implements OnInit {

constructor() { }

Expand Down
2 changes: 1 addition & 1 deletion demo/src/app/advanced/using-ng-pipe.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h4 class="header">Preview</h4>
<table datatable [dtOptions]="dtOptions" class="row-border hover"></table>
</div>
</div>
<app-using-pipe-snippet></app-using-pipe-snippet>
<app-using-ng-pipe-snippet></app-using-ng-pipe-snippet>
</div>
</div>
</div>
4 changes: 2 additions & 2 deletions demo/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import { SelectExtensionComponent } from './extensions/select-extension.componen
import { SelectExtensionSnippetComponent } from './extensions/select-extension-snippet.component';
import { SelectExtensionConfigurationComponent } from './extensions/select-extension-configuration.component';
import { UsingNgPipeComponent } from './advanced/using-ng-pipe.component';
import { UsingPipeSnippetComponent } from './advanced/using-ng-pipe-snippet.component';
import { UsingNgPipeSnippetComponent } from './advanced/using-ng-pipe-snippet.component';

// HightlightJS
import hljs from 'highlight.js/lib/highlight';
Expand Down Expand Up @@ -119,7 +119,7 @@ hljs.registerLanguage('xml', xml);
SelectExtensionSnippetComponent,
SelectExtensionConfigurationComponent,
UsingNgPipeComponent,
UsingPipeSnippetComponent
UsingNgPipeSnippetComponent
],
imports: [
BrowserModule,
Expand Down

0 comments on commit 0d28c6a

Please sign in to comment.