dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
24 lines (20 loc) • 604 B
JavaScript
define(["dojo/_base/kernel", "dojo/_base/lang", "./_base", "./silverlight"],
function(kernel, lang, g, sl){
lang.getObject("dojox.gfx.silverlight_attach", true);
kernel.experimental("dojox.gfx.silverlight_attach");
sl.attachNode = function(node){
// summary:
// creates a shape from a Node
// node: Node
// a Silverlight node
return null; // not implemented
};
sl.attachSurface = function(node){
// summary:
// creates a surface from a Node
// node: Node
// a Silverlight node
return null; // dojox/gfx.Surface
};
return sl; // return augmented silverlight api
});