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

IE8 compatibility #4

Open
marcovtwout opened this issue Feb 6, 2014 · 11 comments
Open

IE8 compatibility #4

marcovtwout opened this issue Feb 6, 2014 · 11 comments

Comments

@marcovtwout
Copy link

IE8 is still widely used, unfortunately your plugin is not compatible ;)

I found the following errors:

Would you care about fixing those?

@marcovtwout
Copy link
Author

After patching these myself, I also found the "hack" where you use a checkbox to hide/show calendar items also does not work in IE8..

@mchandleraz
Copy link

Hey Marco,

Did you end up finding an alternative or solution for IE8?

@carlsednaoui
Copy link
Owner

Hi @mchandleraz, I'm actually re-writing this library from the ground up. That should hopefully help take care of that nasty bug.

Branch with work in progress: https://github.com/carlsednaoui/add-to-calendar-buttons/tree/refactor

As a side note, @marcovtwout mentioned that he ended up patching the errors himself. Perhaps he can share the end result :)

@marcovtwout
Copy link
Author

If you are rewriting this library, my patches shouldn't be needed. :)

Just take a close look at any javascript functions you are using and if they are supported by your target browsers. I recommend following the MDN documentation, for example: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach

@carlsednaoui
Copy link
Owner

@marcovtwout I know that, was just trying to save @mchandleraz some time. (Won't be a few weeks until the new version is out.)

@mchandleraz
Copy link

@marcovtwout @carlsednaoui thanks for the replies. I ended up just dropping the add to calendar feature from this project for this version because we were running out of time. I'll keep my eye on the new library though.

@ptim
Copy link

ptim commented Jun 1, 2014

I'm looking forward to the new version, too 👍

@carlsednaoui
Copy link
Owner

Sorry for the slack on this, been busy with https://github.com/carlsednaoui/ouibounce and other projects 😢 Will definitely put some hours into the new version soon!

@marcovtwout
Copy link
Author

As requested, here is my patched and unsupported version created one year ago: http://pastebin.com/JeC9etZc

@carlsednaoui
Copy link
Owner

@marcovtwout could you please send a PR?

@marcovtwout
Copy link
Author

Sorry, as I said earlier, I really just patched things quickly, I don't think it is PR worthy.

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

4 participants