blob: 47c8924a5e421d39cc3575b8eee7efe0a6a1e3b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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();
}};});
|