Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F886469
CurrencyTextBox.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
CurrencyTextBox.js
View Options
if
(
!
dojo
.
_hasResource
[
"dijit.form.CurrencyTextBox"
]){
//_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo
.
_hasResource
[
"dijit.form.CurrencyTextBox"
]
=
true
;
dojo
.
provide
(
"dijit.form.CurrencyTextBox"
);
//FIXME: dojo.experimental throws an unreadable exception?
//dojo.experimental("dijit.form.CurrencyTextBox");
dojo
.
require
(
"dojo.currency"
);
dojo
.
require
(
"dijit.form.NumberTextBox"
);
dojo
.
declare
(
"dijit.form.CurrencyTextBox"
,
dijit
.
form
.
NumberTextBox
,
{
// code: String
// the ISO4217 currency code, a three letter sequence like "USD"
// See http://en.wikipedia.org/wiki/ISO_4217
currency
:
""
,
regExpGen
:
dojo
.
currency
.
regexp
,
format
:
dojo
.
currency
.
format
,
parse
:
dojo
.
currency
.
parse
,
postMixInProperties
:
function
(){
if
(
this
.
constraints
===
dijit
.
form
.
ValidationTextBox
.
prototype
.
constraints
){
// declare a constraints property on 'this' so we don't overwrite the shared default object in 'prototype'
this
.
constraints
=
{};
}
this
.
constraints
.
currency
=
this
.
currency
;
dijit
.
form
.
CurrencyTextBox
.
superclass
.
postMixInProperties
.
apply
(
this
,
arguments
);
}
}
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 7, 01:46 (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26434
Default Alt Text
CurrencyTextBox.js (1 KB)
Attached To
rZED Zed
Event Timeline
Log In to Comment