Skip to Content | Skip to Navigation


dojo.cache

Deprecated. Use the dojo/text! plugin instead.

Old syntax:

var text = dojo.cache("my.module", "template.html");
...

New syntax:

require("dojo/text!my/module/template.html", function(text){
    ...
});