Changeset 13098

Show
Ignore:
Timestamp:
03/15/08 16:36:00 (10 months ago)
Author:
elazutkin
Message:

dnd: adding missing dojo.depricated(), refs #5687.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/dnd/move.js

    r13002 r13098  
    115115        // within: Boolean: if true, constraints the whole dragged object withtin the rectangle,  
    116116        //      otherwise the constraint is applied to the left-top corner 
     117        dojo.deprecated("dojo.dnd.move.constrainedMover, use dojo.dnd.move.constrainedMoveable instead"); 
    117118        var mover = function(node, e, notifier){ 
    118119                dojo.dnd.Mover.call(this, node, e, notifier); 
     
    146147        // within: Boolean: if true, constraints the whole dragged object withtin the rectangle,  
    147148        //      otherwise the constraint is applied to the left-top corner 
     149        dojo.deprecated("dojo.dnd.move.boxConstrainedMover, use dojo.dnd.move.boxConstrainedMoveable instead"); 
    148150        return dojo.dnd.move.constrainedMover(function(){ return box; }, within);       // Object 
    149151}; 
     
    155157        // within: Boolean: if true, constraints the whole dragged object withtin the rectangle,  
    156158        //      otherwise the constraint is applied to the left-top corner 
     159        dojo.deprecated("dojo.dnd.move.parentConstrainedMover, use dojo.dnd.move.parentConstrainedMoveable instead"); 
    157160        var fun = function(){ 
    158161                var n = this.node.parentNode,