This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Soft Hypen --> | |
| [] | |
| <!-- None Breaking Empty Space --> | |
| [ ] | |
| <!-- Line Break --> | |
| [ ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const swiper = new Swiper('.swiper.marken-swiper', { | |
| // Optional parameters | |
| direction: 'vertical', | |
| loop: true, | |
| // If we need pagination | |
| pagination: { | |
| el: '.swiper-pagination', | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # We borrow heavily from the kernel build setup, though we are simpler since | |
| # we don't have Kconfig tweaking settings on us. | |
| # The implicit make rules have it looking for RCS files, among other things. | |
| # We instead explicitly write all the rules we care about. | |
| # It's even quicker (saves ~200ms) to pass -r on the command line. | |
| MAKEFLAGS=-r | |
| # The source directory tree. | |
| srcdir := .. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe('MyTestComponent', () => { | |
| // .... | |
| const translateServiceMock = { | |
| currentLang: 'de', | |
| onLangChange: new EventEmitter<LangChangeEvent>(), | |
| use: jest.fn(), | |
| get: jest.fn().mockImplementation((key: string): Observable<string> => { | |
| return of(key); |