Commit 0b5c62f8 authored by David DeSandro's avatar David DeSandro
Browse files

use Draggabilly v1.0

Showing with 4 additions and 4 deletions
+4 -4
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"matches-selector": "desandro/matches-selector#>=0.2.0" "matches-selector": "desandro/matches-selector#>=0.2.0"
}, },
"devDependencies": { "devDependencies": {
"draggabilly": "desandro/draggabilly#>=0.1.2", "draggabilly": "desandro/draggabilly#>=1.0.0",
"jquery": "~1", "jquery": "~1",
"jquery-ui-draggable": "git://gist.github.com/4985610.git", "jquery-ui-draggable": "git://gist.github.com/4985610.git",
"qunit": "~1" "qunit": "~1"
......
...@@ -145,13 +145,13 @@ Packery.prototype._create = function() { ...@@ -145,13 +145,13 @@ Packery.prototype._create = function() {
// create drag handlers // create drag handlers
var _this = this; var _this = this;
this.handleDraggabilly = { this.handleDraggabilly = {
dragStart: function( event, pointer, draggie ) { dragStart: function( draggie ) {
_this.itemDragStart( draggie.element ); _this.itemDragStart( draggie.element );
}, },
dragMove: function( event, pointer, draggie ) { dragMove: function( draggie ) {
_this.itemDragMove( draggie.element, draggie.position.x, draggie.position.y ); _this.itemDragMove( draggie.element, draggie.position.x, draggie.position.y );
}, },
dragEnd: function( event, pointer, draggie ) { dragEnd: function( draggie ) {
_this.itemDragEnd( draggie.element ); _this.itemDragEnd( draggie.element );
} }
}; };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment