diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-14 15:39:19 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-14 15:39:19 +0000 |
commit | 1c5685d68f1b73270fb814fe04cbb490eb90ba5f (patch) | |
tree | 3d3ada08a934b96fc31531f1327690d7edc6f766 /includes/js/dojox/gfx/silverlight_attach.js | |
parent | 104d59099e048688c4dbac37d72137006e396558 (diff) | |
download | semanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.gz semanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.bz2 |
Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'includes/js/dojox/gfx/silverlight_attach.js')
-rw-r--r-- | includes/js/dojox/gfx/silverlight_attach.js | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/includes/js/dojox/gfx/silverlight_attach.js b/includes/js/dojox/gfx/silverlight_attach.js deleted file mode 100644 index 1f5cd90..0000000 --- a/includes/js/dojox/gfx/silverlight_attach.js +++ /dev/null @@ -1,87 +0,0 @@ -dojo.require("dojox.gfx.silverlight"); - -dojo.experimental("dojox.gfx.silverlight_attach"); - -(function(){ - dojox.gfx.attachNode = function(node){ - // summary: creates a shape from a Node - // node: Node: an Silverlight node - return null; // for now - if(!node) return null; - var s = null; - switch(node.tagName.toLowerCase()){ - case dojox.gfx.Rect.nodeType: - s = new dojox.gfx.Rect(node); - break; - case dojox.gfx.Ellipse.nodeType: - if(node.width == node.height){ - s = new dojox.gfx.Circle(node); - }else{ - s = new dojox.gfx.Ellipse(node); - } - break; - case dojox.gfx.Polyline.nodeType: - s = new dojox.gfx.Polyline(node); - break; - case dojox.gfx.Path.nodeType: - s = new dojox.gfx.Path(node); - break; - case dojox.gfx.Line.nodeType: - s = new dojox.gfx.Line(node); - break; - case dojox.gfx.Image.nodeType: - s = new dojox.gfx.Image(node); - break; - case dojox.gfx.Text.nodeType: - s = new dojox.gfx.Text(node); - attachFont(s); - break; - default: - //console.debug("FATAL ERROR! tagName = " + node.tagName); - return null; - } - attachShape(s); - if(!(s instanceof dojox.gfx.Image)){ - attachFill(s); - attachStroke(s); - } - attachTransform(s); - return s; // dojox.gfx.Shape - }; - - dojox.gfx.attachSurface = function(node){ - // summary: creates a surface from a Node - // node: Node: an Silverlight node - return null; // dojox.gfx.Surface - }; - - var attachFill = function(rawNode){ - // summary: deduces a fill style from a Node. - // rawNode: Node: an Silverlight node - return null; // Object - }; - - var attachStroke = function(rawNode){ - // summary: deduces a stroke style from a Node. - // rawNode: Node: an SVG node - return null; // Object - }; - - var attachTransform = function(rawNode){ - // summary: deduces a transformation matrix from a Node. - // rawNode: Node: an Silverlight node - return null; // dojox.gfx.matrix.Matrix - }; - - var attachFont = function(rawNode){ - // summary: deduces a font style from a Node. - // rawNode: Node: an Silverlight node - return null; // Object - }; - - var attachShape = function(rawNode){ - // summary: builds a shape from a Node. - // rawNode: Node: an Silverlight node - return null; // dojox.gfx.Shape - }; -})(); |