Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F885373
_registry.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
746 B
Subscribers
None
_registry.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
[
"dojox.drawing.manager._registry"
]){
dojo
.
_hasResource
[
"dojox.drawing.manager._registry"
]
=
true
;
dojo
.
provide
(
"dojox.drawing.manager._registry"
);
(
function
(){
var
_1
=
{
tool
:
{},
stencil
:
{},
drawing
:
{},
plugin
:
{}};
dojox
.
drawing
.
register
=
function
(
_2
,
_3
){
if
(
_3
==
"drawing"
){
_1
.
drawing
[
_2
.
id
]
=
_2
;
}
else
{
if
(
_3
==
"tool"
){
_1
.
tool
[
_2
.
name
]
=
_2
;
}
else
{
if
(
_3
==
"stencil"
){
_1
.
stencil
[
_2
.
name
]
=
_2
;
}
else
{
if
(
_3
==
"plugin"
){
_1
.
plugin
[
_2
.
name
]
=
_2
;
}
}
}
}
};
dojox
.
drawing
.
getRegistered
=
function
(
_4
,
id
){
return
id
?
_1
[
_4
][
id
]
:
_1
[
_4
];
};
})();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 6, 15:32 (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27364
Default Alt Text
_registry.js (746 B)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment