emberjs/ember.js — pull request #3533 by hjdivad (2013-10-05 20:29:13+00:00)
Title: [BUGFIX beta] Fix edge case in `TrackedArray`.

Fix an edge case in delete composition for a delete that right-trims an insert.
This results in a delete followed by an insert that should both compose to a
no-op, but the insert was being erroneously left behind.

see http://jsbin.com/EFezAP/2

Also ignore no-op adds and deletes (ie add 0 items, delete 0 items).