Joined December 2012
·
Posted to
What's this? What's this? There's something very wrong
over 1 year
ago
Good writing. Enjoyed reading it. Keep it up.
Posted to
How I write Javascript classes
over 1 year
ago
@dpashkevich I just posted another protip regarding how I use inheritance. Hopefully should be interesting for you.
Posted to
Native drag and drop with the HTML5 drag & drop api
over 1 year
ago
One of the important quirks is that you would have to call event.preventDefault() on most events in order to get it to work on most browsers. Some insane logic there, but the preventDefault is there to tell the browser that we don't want the default implementation. (Read PPK's rant on this if you feel like: http://www.quirksmode.org/blog/archives/2009/09/the_html5_drag.html) Though I think his take is a bit extreme, drag drop can be made to work well if you try. Could be better, but works.
Achievements
390 Karma
39,919 Total ProTip Views
Charity
Fork and commit to someone's open source project in need
Honey Badger
Have at least one original Node.js-specific repo
@alpacaaa Glad you found it useful!