es6-shim Questions
3
Solved
I have the following code in TypeScript:
export class Config
{
private options = new Map<string, string>();
constructor() {
}
public getOption(name: string): string {
return this.opti...
Geronto asked 4/1, 2016 at 4:12
1
Solved
I'm trying Angular 2 and I noticed that performance on Internet Explorer 11 is dramatically slow while cycling with *ngFor over 1500 items. It takes about 25sec with IE11 whereas less then 1sec on ...
Roughandready asked 12/4, 2016 at 10:27
1
For our application we need to use new feature template string.
var verLongKey= `834r845784576485
y84ery5845y485yu843
483y53485684576845
jhu87843647356756745==457485,mh
ererthe8t0998785==ery8`;
...
Lynsey asked 29/2, 2016 at 8:16
1
For our application we need to use new feature template string.
var verLongKey= `834r845784576485
y84ery5845y485yu843
483y53485684576845
jhu87843647356756745==457485,mh
ererthe8t0998785==ery8`;
...
Wormhole asked 29/2, 2016 at 8:16
2
Solved
Following the Angular2 Quickstart Guide we are instructed to include es6-shim in 2 places:
1) index.html
<script src="node_modules/es6-shim/es6-shim.min.js"></script>
2) typings.json...
2
Solved
I mentioned on Twitter that I was moving from es6-shim to babel. Someone else mentioned:
the shims are still needed even with babel. they fix broken builtins, ones babel's output uses.
So:
D...
1
© 2022 - 2024 — McMap. All rights reserved.