Sha256: eafce387c6e4f5f024cdc317a8fec8e2daaae9b190a2ba03932b75062d06593c

Contents?: true

Size: 959 Bytes

Versions: 4

Compression:

Stored size: 959 Bytes

Contents

//>>built
define("dojox/mdnd/DropIndicator",["dojo/_base/kernel","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","./AreaManager"],function(_1,_2,_3,_4){
var di=_2("dojox.mdnd.DropIndicator",null,{node:null,constructor:function(){
var _5=document.createElement("div");
var _6=document.createElement("div");
_5.appendChild(_6);
_3.add(_5,"dropIndicator");
this.node=_5;
},place:function(_7,_8,_9){
if(_9){
this.node.style.height=_9.h+"px";
}
try{
if(_8){
_7.insertBefore(this.node,_8);
}else{
_7.appendChild(this.node);
}
return this.node;
}
catch(e){
return null;
}
},remove:function(){
if(this.node){
this.node.style.height="";
if(this.node.parentNode){
this.node.parentNode.removeChild(this.node);
}
}
},destroy:function(){
if(this.node){
if(this.node.parentNode){
this.node.parentNode.removeChild(this.node);
}
_4.destroy(this.node);
delete this.node;
}
}});
dojox.mdnd.areaManager()._dropIndicator=new dojox.mdnd.DropIndicator();
return di;
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/mdnd/DropIndicator.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/mdnd/DropIndicator.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/mdnd/DropIndicator.js
dojox-rails-0.11.0 vendor/assets/javascripts/mdnd/DropIndicator.js