diff options
| author | Tristan Zur <tzur@web.web.ccwn.org> | 2014-03-27 22:27:47 +0100 |
|---|---|---|
| committer | Tristan Zur <tzur@web.web.ccwn.org> | 2014-03-27 22:27:47 +0100 |
| commit | b62676ca5d3d6f6ba3f019ea3f99722e165a98d8 (patch) | |
| tree | 86722cb80f07d4569f90088eeaea2fc2f6e2ef94 /js/dojo-1.6/dojox/gfx/attach.xd.js | |
Diffstat (limited to 'js/dojo-1.6/dojox/gfx/attach.xd.js')
| -rw-r--r-- | js/dojo-1.6/dojox/gfx/attach.xd.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/js/dojo-1.6/dojox/gfx/attach.xd.js b/js/dojo-1.6/dojox/gfx/attach.xd.js new file mode 100644 index 0000000..9df290f --- /dev/null +++ b/js/dojo-1.6/dojox/gfx/attach.xd.js @@ -0,0 +1,27 @@ +/*
+ Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
+ Available via Academic Free License >= 2.1 OR the modified BSD license.
+ see: http://dojotoolkit.org/license for details
+*/
+
+
+dojo._xdResourceLoaded(function(dojo, dijit, dojox){
+return {depends: [["provide", "dojox.gfx.attach"],
+["require", "dojox.gfx"]],
+defineResource: function(dojo, dijit, dojox){if(!dojo._hasResource["dojox.gfx.attach"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojox.gfx.attach"] = true;
+dojo.provide("dojox.gfx.attach");
+
+dojo.require("dojox.gfx");
+
+// rename an attacher conditionally
+
+(function(){
+ var r = dojox.gfx.svg.attach[dojox.gfx.renderer];
+ dojo.gfx.attachSurface = r.attachSurface;
+ dojo.gfx.attachNode = r.attachNode;
+})();
+
+}
+
+}};});
|
