attach.js 365 B

12345678
  1. dojo.require("dojox.gfx");
  2. // include an attacher conditionally
  3. dojo.requireIf(dojox.gfx.renderer == "svg", "dojox.gfx.svg_attach");
  4. dojo.requireIf(dojox.gfx.renderer == "vml", "dojox.gfx.vml_attach");
  5. dojo.requireIf(dojox.gfx.renderer == "silverlight",
  6. "dojox.gfx.silverlight_attach");
  7. dojo.requireIf(dojox.gfx.renderer == "canvas", "dojox.gfx.canvas_attach");