r/javascript • • Sep 02 '15

HTML5 Deck of Cards. 100% vanilla JS.

http://pakastin.github.io/deck-of-cards/
368 Upvotes

185 comments sorted by

View all comments

10

u/Baturinsky Sep 02 '15

Not working in Firefox :(

2

u/RenThraysk Sep 02 '15

The code in prefix.js doesn't look right...

https://github.com/pakastin/deck-of-cards/blob/master/lib/prefix.js

In searching for correct prefix, it builds a string... but doesn't test it.

1

u/pkstn Sep 02 '15

Oh crap, you're totally right.. Brain fart 💩

I will fix that right away! Thanks!!

1

u/pkstn Sep 02 '15

Now fixed - thanks again!

1

u/RenThraysk Sep 02 '15

NP, Seems to have fixed the animation in Firefox nightly at least

1

u/pkstn Sep 02 '15

Perfect!