lib/glimmer/data_binding/observable_array.rb in glimmer-2.0.0 vs lib/glimmer/data_binding/observable_array.rb in glimmer-2.0.1

- old
+ new

@@ -128,9 +128,18 @@ super.tap do notify_observers end end + def shift + shifted_element = first + unregister_dependent_observers(shifted_element) + remove_element_observers(shifted_element) + super.tap do + notify_observers + end + end + def delete(element) unregister_dependent_observers(element) remove_element_observers(element) super(element).tap do notify_observers