Rename private move() -> insert(), to reflect recent name changes.

This commit is contained in:
Jürg Lehni 2011-06-19 18:50:23 +01:00
parent bbcec27031
commit 7d2f10f22b

View file

@ -89,7 +89,7 @@ var Layer = this.Layer = Group.extend({
this._project.activeLayer = this;
}
}, new function () {
function move(above) {
function insert(above) {
return function(item) {
// If the item is a layer and contained within Project#layers, use
// our own version of move().
@ -105,8 +105,8 @@ var Layer = this.Layer = Group.extend({
}
return {
insertAbove: move(true),
insertAbove: insert(true),
insertBelow: move(false)
insertBelow: insert(false)
};
});