To fix intl not found issue in Safari

This commit is contained in:
Steven Zou 2017-05-17 11:05:28 -07:00
parent ed63c916bf
commit 588bcf7d6c
2 changed files with 5 additions and 1 deletions

View File

@ -27,11 +27,11 @@
"@ngx-translate/http-loader": "0.0.3", "@ngx-translate/http-loader": "0.0.3",
"@types/jquery": "^2.0.41", "@types/jquery": "^2.0.41",
"@webcomponents/custom-elements": "1.0.0-alpha.3", "@webcomponents/custom-elements": "1.0.0-alpha.3",
"angular2-cookie": "^1.2.6",
"clarity-angular": "^0.9.0", "clarity-angular": "^0.9.0",
"clarity-icons": "^0.9.0", "clarity-icons": "^0.9.0",
"clarity-ui": "^0.9.0", "clarity-ui": "^0.9.0",
"core-js": "^2.4.1", "core-js": "^2.4.1",
"intl": "^1.2.5",
"mutationobserver-shim": "^0.3.2", "mutationobserver-shim": "^0.3.2",
"ngx-cookie": "^1.0.0", "ngx-cookie": "^1.0.0",
"rxjs": "^5.0.1", "rxjs": "^5.0.1",

View File

@ -30,6 +30,10 @@ import 'core-js/es6/reflect';
import 'core-js/es7/reflect'; import 'core-js/es7/reflect';
import 'intl';
import 'intl/locale-data/jsonp/en';
import 'intl/locale-data/jsonp/es';
import 'intl/locale-data/jsonp/zh';
import 'zone.js/dist/zone'; import 'zone.js/dist/zone';