[Representation] Spec for DragGesture

Add spec for the drag gesture, as attached to a
representation of a domain object. WTD-521.
This commit is contained in:
Victor Woeltjen
2014-11-22 10:26:44 -08:00
parent f5ce0e844f
commit 929e501408
3 changed files with 70 additions and 5 deletions

View File

@ -49,7 +49,7 @@ define(
return {
destroy: function () {
// Detach listener
element.attr('draggable', false);
element.removeAttr('draggable');
element.off('dragstart', startDrag);
}
};