From 42788a5bf75f4d2039ded234b09c6ffee6cf6cab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 11 Dec 2013 15:08:56 +0100 Subject: [PATCH] Keep support for Item#registration for now as well, since there are some scripts on the mailing list that use it. --- src/item/Item.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/item/Item.js b/src/item/Item.js index 1cbae5dd..cafb52a9 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -803,7 +803,12 @@ var Item = Base.extend(Callback, /** @lends Item# */{ this._anchor = Point.read(arguments); // No need for _changed() since the only thing this affects is _position delete this._position; - } + }, + + // TODO: Keep these around for a bit since it was introduced on the mailing + // list, then remove in a while. + getRegistration: '#getAnchor', + setRegistration: '#setAnchor' }, Base.each(['getBounds', 'getStrokeBounds', 'getHandleBounds', 'getRoughBounds', 'getInternalBounds', 'getInternalRoughBounds'], function(key) {