Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Commit

Permalink
Minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
echeung-amzn committed May 7, 2018
1 parent 322c201 commit 019d127
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 89 deletions.
152 changes: 87 additions & 65 deletions demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,29 @@
"node": ">=6"
},
"dependencies": {
"@angular/common": "^5.2.9",
"@angular/compiler": "^5.2.9",
"@angular/core": "^5.2.9",
"@angular/platform-browser": "^5.2.9",
"@angular/platform-browser-dynamic": "^5.2.9",
"@angular/common": "^6.0.0",
"@angular/compiler": "^6.0.0",
"@angular/core": "^6.0.0",
"@angular/platform-browser": "^6.0.0",
"@angular/platform-browser-dynamic": "^6.0.0",
"es6-shim": "^0.35.3",
"ng-inline-svg": "file:..",
"reflect-metadata": "^0.1.12",
"rxjs": "^5.5.7",
"zone.js": "^0.8.20"
"rxjs": "^6.1.0",
"zone.js": "^0.8.26"
},
"devDependencies": {
"copy-webpack-plugin": "^4.5.1",
"css-loader": "^0.28.11",
"extract-text-webpack-plugin": "^3.0.2",
"gh-pages": "^1.1.0",
"html-webpack-plugin": "^3.0.7",
"node-sass": "^4.7.2",
"html-webpack-plugin": "^3.2.0",
"node-sass": "^4.9.0",
"sass-loader": "^6.0.7",
"style-loader": "^0.20.3",
"style-loader": "^0.21.0",
"ts-loader": "^3.4.0",
"typescript": "^2.5.3",
"uglifyjs-webpack-plugin": "^1.2.4",
"typescript": "~2.7.2",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.11.1"
}
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
"@angular/common": ">=6.0.0"
},
"devDependencies": {
"@angular/common": "6.0.0",
"@angular/compiler": "6.0.0",
"@angular/compiler-cli": "6.0.0",
"@angular/core": "6.0.0",
"@angular/platform-browser": "6.0.0",
"@angular/common": "^6.0.0",
"@angular/compiler": "^6.0.0",
"@angular/compiler-cli": "^6.0.0",
"@angular/core": "^6.0.0",
"@angular/platform-browser": "^6.0.0",
"rimraf": "^2.6.2",
"rxjs": "6.1.0",
"rxjs": "^6.1.0",
"tslint": "^5.10.0",
"typescript": "~2.7.2",
"zone.js": "^0.8.26"
Expand Down
2 changes: 1 addition & 1 deletion src/inline-svg.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
ViewContainerRef,
} from '@angular/core';
import { isPlatformBrowser, isPlatformServer } from '@angular/common';
import {Subscription} from 'rxjs';
import { Subscription } from 'rxjs';

import { InlineSVGComponent } from './inline-svg.component';
import { SVGCacheService } from './svg-cache.service';
Expand Down
11 changes: 6 additions & 5 deletions src/svg-cache.service.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {Injectable, Optional, Renderer2, RendererFactory2} from '@angular/core';
import {HttpClient} from '@angular/common/http';
import {Observable, of} from 'rxjs';
import {map, finalize, catchError, share} from 'rxjs/operators';
import { Injectable, Optional, Renderer2, RendererFactory2 } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable, of } from 'rxjs';
import { map, finalize, catchError, share } from 'rxjs/operators';


import {InlineSVGConfig} from './inline-svg.config';
import { InlineSVGConfig } from './inline-svg.config';

@Injectable()
export class SVGCacheService {
Expand Down Expand Up @@ -107,4 +107,5 @@ export class SVGCacheService {
private _cloneSVG(svg: SVGElement): SVGElement {
return svg.cloneNode(true) as SVGElement;
}

}

0 comments on commit 019d127

Please sign in to comment.