-
Notifications
You must be signed in to change notification settings - Fork 27.3k
fix(ngRepeat): trigger move animation #15072
base: master
Are you sure you want to change the base?
Changes from 1 commit
2331c42
263be6b
f3c6062
47bd3a4
7a98172
d8320a1
dcc80c1
c969ae2
410312c
4d6feb9
3b17d5d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
…mparison operators with type.
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -339,9 +339,9 @@ var ngRepeatDirective = ['$parse', '$animate', '$compile', function($parse, $ani | |
| scope.$odd = !(scope.$even = (index & 1) === 0); | ||
| }; | ||
|
|
||
| var getBlockStart = function(block) { | ||
| return block.clone[0]; | ||
| }; | ||
| // var getBlockStart = function(block) { | ||
| // return block.clone[0]; | ||
| // }; | ||
|
|
||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. getBlockStart function is no longer used. |
||
| var getBlockEnd = function(block) { | ||
| return block.clone[block.clone.length - 1]; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1489,7 +1489,7 @@ describe('ngRepeat animations', function() { | |
|
|
||
| while ($animate.queue.length) { | ||
| item = $animate.queue.shift(); | ||
| if (item.event == 'leave') { | ||
| if (item.event === 'leave') { | ||
| break; | ||
| } | ||
| } | ||
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please remove this commented-out code?