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

Make it work with the funky structure of Safari's Uint8Array. #11

Closed
wants to merge 1 commit into from

Conversation

jergason
Copy link
Contributor

@jergason jergason commented Nov 4, 2011

See Issue #10.

} else {
//Horribleness to handle slightly different Safari Uint8Array
if (input.constructor !== Uint8Array.prototype.constructor) {
if (input.constructor.constructor == "undefined" || input.constructor.constructor !== Uint8Array.prototype.constructor) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the first condition be "typeof input.constructor.constructor === 'undefined'", or will it be the string 'undefined'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, on line 35? Hrrm, will have to test it. I think what I have worked on safari, but I'll have to check again.

@jergason
Copy link
Contributor Author

Hi Jameson!

@jergason jergason closed this Apr 14, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants