summaryrefslogtreecommitdiff
path: root/includes/js/dojox/gfx/attach.js
diff options
context:
space:
mode:
Diffstat (limited to 'includes/js/dojox/gfx/attach.js')
-rw-r--r--includes/js/dojox/gfx/attach.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/js/dojox/gfx/attach.js b/includes/js/dojox/gfx/attach.js
new file mode 100644
index 0000000..901f66f
--- /dev/null
+++ b/includes/js/dojox/gfx/attach.js
@@ -0,0 +1,7 @@
+dojo.require("dojox.gfx");
+
+// include an attacher conditionally
+dojo.requireIf(dojox.gfx.renderer == "svg", "dojox.gfx.svg_attach");
+dojo.requireIf(dojox.gfx.renderer == "vml", "dojox.gfx.vml_attach");
+dojo.requireIf(dojox.gfx.renderer == "silverlight", "dojox.gfx.silverlight_attach");
+dojo.requireIf(dojox.gfx.renderer == "canvas", "dojox.gfx.canvas_attach");