Changed method name to setAutoSelect to avoid collision

Plus, this is more consistent with the rest of the method names

Change-Id: I713f1bfc28d22cc259ce5dba69ea053817fd43f8
This commit is contained in:
Trevor Parscal 2012-10-05 11:07:10 -07:00
parent b2295a2de3
commit da2d89ee3a

View file

@ -321,7 +321,7 @@ ve.dm.SurfaceFragment.prototype.getSiblingNodes = function () {
* @param {Boolean} [value=true] Automatically update surface selection
* @returns {ve.dm.SurfaceFragment} This fragment
*/
ve.dm.SurfaceFragment.prototype.autoSelect = function ( value ) {
ve.dm.SurfaceFragment.prototype.setAutoSelect = function ( value ) {
this.autoSelect = value === undefined || !!value;
return this;
};