Load svg of the keyboard layout

This commit is contained in:
József Farkas
2016-04-09 21:29:22 +02:00
parent cf1f979c8a
commit df3ae6c918
2 changed files with 14 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
"typings": "^0.7.12",
"webpack": "^1.12.14",
"webpack-dev-server": "^1.14.1",
"xml-loader": "^1.1.0",
"yargs": "^4.2.0",
"zone.js": "^0.6.9"
},

View File

@@ -0,0 +1,13 @@
import { Injectable } from 'angular2/core';
@Injectable()
export class DataProviderService {
constructor() { }
getBaseLayer(): any {
return require('xml!../../images/base-layer.svg').svg;
}
}