UNPKG

dojo-util

Version:

Dojo utilities including build system for optimizing JavaScript application performance, and DOH testing tool

13 lines (12 loc) 220 B
// Rhino-based replacement for dojo/_base/xhr (get only) define(function(){ return { get: function(args){ try { args.load(readFile(args.url, "utf-8")); } catch (e) { args.error(); } } } });