Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 57c5332

Browse files
committed
Merge pull request #264 from thgreasi/master
chore: increase version number to v0.12.11
2 parents 34ed7bf + 28b82f9 commit 57c5332

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-ui-sortable",
3-
"version": "0.12.10",
3+
"version": "0.12.11",
44
"description": "This directive allows you to jQueryUI Sortable.",
55
"author": "https://github.com/angular-ui/ui-sortable/graphs/contributors",
66
"license": "MIT",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-ui-sortable",
3-
"version": "0.12.10",
3+
"version": "0.12.11",
44
"description": "This directive allows you to jQueryUI Sortable.",
55
"author": "https://github.com/angular-ui/ui-sortable/graphs/contributors",
66
"license": "MIT",

test/sortable.e2e.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,12 @@ describe('uiSortable', function() {
401401
expect($rootScope.items).toEqual(['One', 'Three', 'Two']);
402402
expect($rootScope.items).toEqual(listContent(element));
403403

404+
li = element.find(':eq(2)');
405+
dy = -(1 + EXTRA_DY_PERCENTAGE) * li.outerHeight();
406+
li.simulate('drag', { dy: dy });
407+
expect($rootScope.items).toEqual(['One', 'Two', 'Three']);
408+
expect($rootScope.items).toEqual(listContent(element));
409+
404410
$(element).remove();
405411
});
406412
});

0 commit comments

Comments
 (0)