summaryrefslogtreecommitdiff
path: root/js/dojo-1.6/dojox/gfx/attach.js
blob: 2bbc69bd3ee4cd991b9088e36cb28d7baaf82e1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
	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
*/


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;
})();

}