Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
igniteui.angular2 is failed to load in IE 9
posted

Hi I am getting is error Unable to get property 'replace' of undefined or null reference at line below. The cls.name is coming undefined when I run the application in IE 9.

All other browsers my application is running fine.

export function IgComponent(args: any = {}) {

return function (cls) {
// get current annotations
let annotations = _reflect.getMetadata('annotations', cls) || [];
var sel = cls.name
//transform Uppercase to dash + LowerCase letter
.replace(/([A-Z])/g, (group) => { return "-" + group[0].toLowerCase(); })
//remove first dash and "-component"
.slice(1).replace("-component", "");

App.rar