Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type error raised in IE9 #8

Closed
timberkeley opened this issue Apr 25, 2018 · 1 comment
Closed

Type error raised in IE9 #8

timberkeley opened this issue Apr 25, 2018 · 1 comment
Assignees

Comments

@timberkeley
Copy link

"TypeError: Unable to get value of the property 'split': object is null or undefined"

This is again a problem with stack traces in IE, error.stack is undefined. I would think that the simplest option would to just return no method name for such an old and broken browser.

  try { throw new Error('') } catch (e) { error = e }
  if (error.stack === undefined) {
    return ""
  }
@justinkames
Copy link
Owner

@timberkeley

Thanks for the suggestion, I will update the the library so it is compatible with IE9.

@justinkames justinkames self-assigned this Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants