Angular src restructured as modular as per angular official guidelines, .travis.yml support added for node 12
This commit is contained in:
1
src/app/shared/directives/index.ts
Normal file
1
src/app/shared/directives/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './webview/webview.directive';
|
||||
@@ -0,0 +1,8 @@
|
||||
import { WebviewDirective } from './webview.directive';
|
||||
|
||||
describe('WebviewDirective', () => {
|
||||
it('should create an instance', () => {
|
||||
const directive = new WebviewDirective();
|
||||
expect(directive).toBeTruthy();
|
||||
});
|
||||
});
|
||||
8
src/app/shared/directives/webview/webview.directive.ts
Normal file
8
src/app/shared/directives/webview/webview.directive.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Directive } from '@angular/core';
|
||||
|
||||
@Directive({
|
||||
selector: '[webview]'
|
||||
})
|
||||
export class WebviewDirective {
|
||||
constructor() {}
|
||||
}
|
||||
Reference in New Issue
Block a user