dojo
Version:
Dojo core is a powerful, lightweight library that makes common tasks quicker and easier. Animate elements, manipulate the DOM, and query with easy CSS syntax, all without sacrificing performance.
12 lines (10 loc) • 327 B
JavaScript
dojo.provide("dojo.testsDOH._base._loader.hostenv_spidermonkey");
tests.register("testsDOH._base._loader.hostenv_spidermonkey",
[
function getText(t){
var filePath = dojo.moduleUrl("testsDOH._base._loader", "getText.txt");
var text = readText(filePath);
t.assertEqual("dojo._getText() test data", text);
}
]
);