Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Packery
Commits
0b5c62f8
Commit
0b5c62f8
authored
12 years ago
by
David DeSandro
Browse files
Options
Download
Email Patches
Plain Diff
use Draggabilly v1.0
parent
e77293d0
master
center-out-corner
pack-option
shift
v2.1.2
v2.1.1
v2.1.0
v2.0.0
v2.0.0-beta1
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.2
v1.1.1
v1.1.0
v1.0.6
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
v0.3.6
v0.3.5
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
component.json
+1
-1
component.json
js/packery.js
+3
-3
js/packery.js
with
4 additions
and
4 deletions
+4
-4
component.json
+
1
-
1
View file @
0b5c62f8
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
js/packery.js
+
3
-
3
View file @
0b5c62f8
...
@@ -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
);
}
}
};
};
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help