Add svg prefix to avoid future name collision
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { Component, OnInit } from 'angular2/core';
|
||||
|
||||
import {KeyboardComponent} from './components/keyboard.component';
|
||||
import {SvgKeyboardComponent} from './components/svg-keyboard.component';
|
||||
|
||||
@Component({
|
||||
selector: 'main-app',
|
||||
template: '<keyboard></keyboard>',
|
||||
directives: [KeyboardComponent]
|
||||
template: '<svg-keyboard></svg-keyboard>',
|
||||
directives: [SvgKeyboardComponent]
|
||||
})
|
||||
export class MainAppComponent implements OnInit {
|
||||
constructor() { }
|
||||
|
||||
Reference in New Issue
Block a user