diff --git a/Source/App/Layer.js b/Source/App/Layer.js index 15fa573..524bf16 100644 --- a/Source/App/Layer.js +++ b/Source/App/Layer.js @@ -75,7 +75,7 @@ declare( 'LibCanvas.App.Layer', { }, redrawAll: function () { - this.elements.invoke('redraw'); + atom.array.invoke( this.elements, 'redraw' ); return this; }, diff --git a/libcanvas-full-compiled.js b/libcanvas-full-compiled.js index 464e502..f7c1dff 100644 --- a/libcanvas-full-compiled.js +++ b/libcanvas-full-compiled.js @@ -1129,7 +1129,7 @@ declare( 'LibCanvas.App.Layer', { }, redrawAll: function () { - this.elements.invoke('redraw'); + atom.array.invoke( this.elements, 'redraw' ); return this; },