Skip to content

Commit 57c5332

Browse files
committed
Merge pull request angular-ui#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

+1-1
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

+1-1
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

+6
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)