Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F390962
widget.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
widget.js
View Options
if
(
!
dojo
.
_hasResource
[
"dojox.dtl.widget"
]){
//_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo
.
_hasResource
[
"dojox.dtl.widget"
]
=
true
;
dojo
.
provide
(
"dojox.dtl.widget"
);
dojo
.
require
(
"dijit._Widget"
);
dojo
.
require
(
"dijit._Container"
)
dojo
.
require
(
"dojox.dtl.html"
);
dojo
.
require
(
"dojox.dtl.render.html"
);
dojo
.
declare
(
"dojox.dtl._Widget"
,
[
dijit
.
_Widget
,
dijit
.
_Contained
],
{
buffer
:
0
,
buildRendering
:
function
(){
this
.
domNode
=
this
.
srcNodeRef
;
if
(
this
.
domNode
){
var
parent
=
this
.
getParent
();
if
(
parent
){
this
.
setAttachPoint
(
parent
);
}
}
},
setAttachPoint
:
function
(
/*dojox.dtl.AttachPoint*/
attach
){
this
.
_attach
=
attach
;
},
render
:
function
(
/*dojox.dtl.HtmlTemplate*/
tpl
,
/*dojox.dtl.Context*/
context
){
if
(
!
this
.
_attach
){
throw
new
Error
(
"You must use an attach point with dojox.dtl.TemplatedWidget"
);
}
context
.
setThis
(
this
);
this
.
_attach
.
render
(
tpl
,
context
);
}
}
);
dojo
.
declare
(
"dojox.dtl.AttachPoint"
,
[
dijit
.
_Widget
,
dijit
.
_Container
],
{
constructor
:
function
(
props
,
node
){
this
.
_render
=
new
dojox
.
dtl
.
render
.
html
.
Render
(
node
);
},
render
:
function
(
/*dojox.dtl.HtmlTemplate*/
tpl
,
/*dojox.dtl.Context*/
context
){
this
.
_render
.
render
(
tpl
,
context
);
}
}
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 20:21 (9 h, 11 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25197
Default Alt Text
widget.js (1 KB)
Attached To
rZED Zed
Event Timeline
Log In to Comment