Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F390695
_Contained.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
870 B
Subscribers
None
_Contained.js
View Options
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if
(
!
dojo
.
_hasResource
[
"dijit._Contained"
]){
dojo
.
_hasResource
[
"dijit._Contained"
]
=
true
;
dojo
.
provide
(
"dijit._Contained"
);
dojo
.
declare
(
"dijit._Contained"
,
null
,{
getParent
:
function
(){
var
_1
=
dijit
.
getEnclosingWidget
(
this
.
domNode
.
parentNode
);
return
_1
&&
_1
.
isContainer
?
_1
:
null
;
},
_getSibling
:
function
(
_2
){
var
_3
=
this
.
domNode
;
do
{
_3
=
_3
[
_2
+
"Sibling"
];
}
while
(
_3
&&
_3
.
nodeType
!=
1
);
return
_3
&&
dijit
.
byNode
(
_3
);
},
getPreviousSibling
:
function
(){
return
this
.
_getSibling
(
"previous"
);
},
getNextSibling
:
function
(){
return
this
.
_getSibling
(
"next"
);
},
getIndexInParent
:
function
(){
var
p
=
this
.
getParent
();
if
(
!
p
||!
p
.
getIndexOfChild
){
return
-
1
;
}
return
p
.
getIndexOfChild
(
this
);
}});
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 15:27 (1 h, 20 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24789
Default Alt Text
_Contained.js (870 B)
Attached To
rZED Zed
Event Timeline
Log In to Comment