Live data from Hacker News

Flippant.js - A mini JS and CSS library for flipping things over

mintchaos.github.io

31–34 of 34 posts

Re: Flippant.js - A mini JS and CSS library for flipping things over

#31

Earlier quoted context omitted.

In IE 10 the 'flip' in the demo worked for me, but the 'flip back' didn't. It looks like it is just the way the even handler on the 'back' of the item is wired up.

I don't think it's the library; the demo uses `CustomEvent`, external to the lib, which is not supported in IE, as a constructor. I honestly didn't test any of it, but looking at the code was obvious it'd both not work and just throw errors in IE.

Yes, re: event handler wire-up, that's why I wrote the part that said " It looks like it is just the way the event handler on the 'back' of the item is wired up"

Re: Flippant.js - A mini JS and CSS library for flipping things over

#33
post #13

Full flippant source is 79 lines: https://github.com/mintchaos/flippant.js/blob/master/flippan... Call me old-fashioned but I prefer not to use these "mini JS and CSS" libraries for every little thing I do. Any competent JS/HTML developer be able to implement something like this using CSS3 transitions in an hour. Too many developers just paste libraries together these days.

Why spend time re-inventing the wheel? If you're looking to sharpen your skills, then go for it. I believe most people would prefer to get their product out the door as quickly as it's reasonable.

What is the time it takes you to find this "library" and verify its fitness for your purpose? You can see that it causes runtime errors in IE8 and one had to read the source code to see this because it's not mentioned anywhere.

If you are making a custom implementation specific to your application, most of the css and js is not needed (especially if you are using jQuery) or are useless and need to be changed. It would be so trivial to write you would not even think of finding a library for it.

Re: Flippant.js - A mini JS and CSS library for flipping things over

#34
The card version looks nice and usable, but the test flip has some issues. Works nice in IE10, but in Crome, the font gets ugly and has drawing artifacts (see http://imgur.com/aXwvVr8 ), but that's chrome and not your fault :)

Also, in IE10, the input of the card is a bit off, where you can't read it properly ( http://imgur.com/NF7lXbQ ) and the update button doesn't work...

Post reply on HN