diff options
Diffstat (limited to 'js/dojo-1.6/dojox/embed/IE/flash.xd.js')
| -rw-r--r-- | js/dojo-1.6/dojox/embed/IE/flash.xd.js | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/js/dojo-1.6/dojox/embed/IE/flash.xd.js b/js/dojo-1.6/dojox/embed/IE/flash.xd.js new file mode 100644 index 0000000..47c8924 --- /dev/null +++ b/js/dojo-1.6/dojox/embed/IE/flash.xd.js @@ -0,0 +1,30 @@ +/*
+ 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 {
+defineResource: function(dojo, dijit, dojox){// *** Fricking Eolas. This is here to get around the Eolas issue. Sigh. ***************
+dojox.embed.Flash.place = function(kwArgs, node){
+ var o = dojox.embed.Flash.__ie_markup__(kwArgs);
+ node=dojo.byId(node);
+
+ if(!node){
+ node=dojo.doc.createElement("div");
+ node.id=o.id+"-container";
+ dojo.body().appendChild(node);
+ }
+
+ if(o){
+ node.innerHTML = o.markup;
+ //return window[o.id];
+ return o.id;
+ }
+ return null;
+}
+dojox.embed.Flash.onInitialize();
+
+}};});
|
