Skip to content

Commit

Permalink
Merge pull request #156 from MurhafSousli/develop
Browse files Browse the repository at this point in the history
Update demo: use relative link to import the library
  • Loading branch information
MurhafSousli authored Dec 3, 2020
2 parents ebcf464 + ec40b96 commit 0f6cf81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions projects/ngx-highlightjs-demo/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import { FlexLayoutModule } from '@angular/flex-layout';
import { NgScrollbarModule } from 'ngx-scrollbar';
import { MaterialModule } from './material/material.module';

// import { HighlightPlusModule, GIST_OPTIONS } from '../../projects/ngx-highlightjs/plus/src/public_api';
// import { HIGHLIGHT_OPTIONS } from '../../projects/ngx-highlightjs/src/public-api';
import { HIGHLIGHT_OPTIONS } from 'ngx-highlightjs';
import { HighlightPlusModule, GIST_OPTIONS } from 'ngx-highlightjs/plus';
import { HighlightPlusModule, GIST_OPTIONS } from '../../../ngx-highlightjs/plus/src/public_api';
import { HIGHLIGHT_OPTIONS } from '../../../ngx-highlightjs/src/public-api';
// import { HIGHLIGHT_OPTIONS } from 'ngx-highlightjs';
// import { HighlightPlusModule, GIST_OPTIONS } from 'ngx-highlightjs/plus';

import { AppComponent } from './app.component';
import { HeaderComponent } from './header/header.component';
Expand Down
8 changes: 4 additions & 4 deletions projects/ngx-highlightjs-demo/src/app/gist/gist.component.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Component, OnInit, ChangeDetectionStrategy, Input } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
import { map } from 'rxjs/operators';
import { HighlightLoader } from 'ngx-highlightjs';
import { Gist } from 'ngx-highlightjs/plus';
// import { Gist } from '../../../projects/ngx-highlightjs/plus/src/public_api';
// import { HighlightLoader } from '../../../projects/ngx-highlightjs/src/public-api';
// import { HighlightLoader } from 'ngx-highlightjs';
// import { Gist } from 'ngx-highlightjs/plus';
import { Gist } from '../../../../ngx-highlightjs/plus/src/public_api';
import { HighlightLoader } from '../../../../ngx-highlightjs/src/public-api';

@Component({
selector: 'app-gist',
Expand Down

0 comments on commit 0f6cf81

Please sign in to comment.