andywer / drag-mock

Trigger HTML5 drag & drop events for testing
MIT License
35 stars 11 forks source link

Invalid example code in the README #2

Closed betelgeuse closed 9 years ago

betelgeuse commented 9 years ago

At the top of the README there's this example code:

dragMock.drag(dragSource).drop(dropTarget);

This does not work because there's no drag function on the dragMock object.

andywer commented 9 years ago

Ohh, of course. Fixed the demo code.

Thanks for the hint!