source: trip-planner-front/node_modules/@fortawesome/angular-fontawesome/fesm2015/fortawesome-angular-fontawesome-testing.js@ 76712b2

Last change on this file since 76712b2 was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 1.3 KB
Line 
1import { ɵɵdefineInjectable, Injectable, NgModule } from '@angular/core';
2import { FontAwesomeModule, FaIconLibrary } from '@fortawesome/angular-fontawesome';
3
4const dummyIcon = {
5 prefix: 'fad',
6 iconName: 'dummy',
7 icon: [512, 512, [], 'f030', 'M50 50 H462 V462 H50 Z'],
8};
9class MockFaIconLibrary {
10 addIcons() {
11 throw new Error('Attempt to add an icon to the MockFaIconLibrary.');
12 }
13 addIconPacks() {
14 throw new Error('Attempt to add an icon pack to the MockFaIconLibrary.');
15 }
16 getIconDefinition(prefix, name) {
17 return dummyIcon;
18 }
19}
20MockFaIconLibrary.ɵprov = ɵɵdefineInjectable({ factory: function MockFaIconLibrary_Factory() { return new MockFaIconLibrary(); }, token: MockFaIconLibrary, providedIn: "root" });
21MockFaIconLibrary.decorators = [
22 { type: Injectable, args: [{
23 providedIn: 'root',
24 },] }
25];
26
27class FontAwesomeTestingModule {
28}
29FontAwesomeTestingModule.decorators = [
30 { type: NgModule, args: [{
31 exports: [FontAwesomeModule],
32 providers: [{ provide: FaIconLibrary, useExisting: MockFaIconLibrary }],
33 },] }
34];
35
36/**
37 * Generated bundle index. Do not edit.
38 */
39
40export { FontAwesomeTestingModule, MockFaIconLibrary as ɵa };
41//# sourceMappingURL=fortawesome-angular-fontawesome-testing.js.map
Note: See TracBrowser for help on using the repository browser.