vigetlabs/blendid

Edge/IE11 Issue

schellenbergk opened this issue · 1 comments

Hello,

I've started cross browser testing on my project and everything works fine (when i run yarn run blendid) on most of the browsers however Edge/IE11, am I missing something?

export default class Table {
  constructor(el) {  // <--- Edge (Object doesn't support property or method 'ToString'), IE11 ('Symbol' is undefined)
    this.el = el;

    let x = el.getElementsByClassName('-x');
    for(let close of x){   // <--- This line seems to be causing it
      //....
    }

  }
}

@schellenbergk looks like this may be an issue with using a for of loop, which is not supported in IE. maybe a polyfill for this would fix?