Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F15623183
widget.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
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
Thu, Nov 26, 03:57 (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25197
Default Alt Text
widget.js (1 KB)
Attached To
Mode
rZEDHG ZedLegacy
Attached
Detach File
Event Timeline
Log In to Comment