Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F884323
hostenv_rhino.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
618 B
Subscribers
None
hostenv_rhino.js
View Options
if
(
!
dojo
.
_hasResource
[
"tests._base._loader.hostenv_rhino"
]){
//_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo
.
_hasResource
[
"tests._base._loader.hostenv_rhino"
]
=
true
;
dojo
.
provide
(
"tests._base._loader.hostenv_rhino"
);
tests
.
register
(
"tests._base._loader.hostenv_rhino"
,
[
function
getText
(
t
){
var
filePath
=
dojo
.
moduleUrl
(
"tests._base._loader"
,
"getText.txt"
);
var
text
=
(
new
String
(
readText
(
filePath
)));
//The Java file read seems to add a line return.
text
=
text
.
replace
(
/[\r\n]+$/
,
""
);
t
.
assertEqual
(
"dojo._getText() test data"
,
text
);
}
]
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 6, 10:25 (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27328
Default Alt Text
hostenv_rhino.js (618 B)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment