Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 0741986

Browse files
josephperrottjelbourn
authored andcommitted
Add thumbup-icon to assets when loading icon-svg-example plunkr. (#263)
1 parent 3cab187 commit 0741986

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/app/shared/plunker/plunker-writer.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ export class PlunkerWriter {
5454
let exampleContents = data.exampleFiles
5555
.map(file => this._readFile(form, data, file, data.examplePath));
5656

57+
// TODO(josephperrott): Prevent including assets to be manually checked.
58+
if (data.selectorName === 'icon-svg-example') {
59+
this._readFile(form, data, 'assets/img/examples/thumbup-icon.svg', '');
60+
}
61+
5762
Promise.all(templateContents.concat(exampleContents)).then(() => {
5863
resolve(form);
5964
});

0 commit comments

Comments
 (0)