Skip to content

Commit 3fdef64

Browse files
kweddedahlerlend
authored andcommitted
Bug #31432103 BUILD BREAK FOR 7.3 AND 7.4 COMMERCIAL WIN VERSION DUE TO TOO LONG FILE NAMES
Add prebuild version of dojo 1.15.3 Approved by: Dinesh Prakash <[email protected]> Change-Id: If0cf5aa7d60410ce7302ec56650bd6733bfcb3e2
1 parent 000cb98 commit 3fdef64

File tree

10,278 files changed

+1018865
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

10,278 files changed

+1018865
-0
lines changed

storage/ndb/mcc/frontend/dojo/build-report.txt

Lines changed: 31680 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
//>>built
2+
define("dijit/BackgroundIframe",["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_1,_2,_3,_4,_5,_6,on,_7){
3+
_7.add("config-bgIframe",(_7("ie")||_7("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));
4+
var _8=new function(){
5+
var _9=[];
6+
this.pop=function(){
7+
var _a;
8+
if(_9.length){
9+
_a=_9.pop();
10+
_a.style.display="";
11+
}else{
12+
if(_7("ie")<9){
13+
var _b=_3["dojoBlankHtmlUrl"]||_1.toUrl("dojo/resources/blank.html")||"javascript:\"\"";
14+
var _c="<iframe src='"+_b+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";
15+
_a=document.createElement(_c);
16+
}else{
17+
_a=_4.create("iframe");
18+
_a.src="javascript:\"\"";
19+
_a.className="dijitBackgroundIframe";
20+
_a.setAttribute("role","presentation");
21+
_5.set(_a,"opacity",0.1);
22+
}
23+
_a.tabIndex=-1;
24+
}
25+
return _a;
26+
};
27+
this.push=function(_d){
28+
_d.style.display="none";
29+
_9.push(_d);
30+
};
31+
}();
32+
_2.BackgroundIframe=function(_e){
33+
if(!_e.id){
34+
throw new Error("no id");
35+
}
36+
if(_7("config-bgIframe")){
37+
var _f=(this.iframe=_8.pop());
38+
_e.appendChild(_f);
39+
if(_7("ie")<7||_7("quirks")){
40+
this.resize(_e);
41+
this._conn=on(_e,"resize",_6.hitch(this,"resize",_e));
42+
}else{
43+
_5.set(_f,{width:"100%",height:"100%"});
44+
}
45+
}
46+
};
47+
_6.extend(_2.BackgroundIframe,{resize:function(_10){
48+
if(this.iframe){
49+
_5.set(this.iframe,{width:_10.offsetWidth+"px",height:_10.offsetHeight+"px"});
50+
}
51+
},destroy:function(){
52+
if(this._conn){
53+
this._conn.remove();
54+
this._conn=null;
55+
}
56+
if(this.iframe){
57+
this.iframe.parentNode.removeChild(this.iframe);
58+
_8.push(this.iframe);
59+
delete this.iframe;
60+
}
61+
}});
62+
return _2.BackgroundIframe;
63+
});
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
define("dijit/BackgroundIframe", [
2+
"require", // require.toUrl
3+
"./main", // to export dijit.BackgroundIframe
4+
"dojo/_base/config",
5+
"dojo/dom-construct", // domConstruct.create
6+
"dojo/dom-style", // domStyle.set
7+
"dojo/_base/lang", // lang.extend lang.hitch
8+
"dojo/on",
9+
"dojo/sniff" // has("ie"), has("trident"), has("quirks")
10+
], function(require, dijit, config, domConstruct, domStyle, lang, on, has){
11+
12+
// module:
13+
// dijit/BackgroundIFrame
14+
15+
// Flag for whether to create background iframe behind popups like Menus and Dialog.
16+
// A background iframe is useful to prevent problems with popups appearing behind applets/pdf files,
17+
// and is also useful on older versions of IE (IE6 and IE7) to prevent the "bleed through select" problem.
18+
// By default, it's enabled for IE6-11, excluding Windows Phone 8.
19+
// TODO: For 2.0, make this false by default. Also, possibly move definition to has.js so that this module can be
20+
// conditionally required via dojo/has!bgIfame?dijit/BackgroundIframe
21+
has.add("config-bgIframe",
22+
(has("ie") || has("trident")) && !/IEMobile\/10\.0/.test(navigator.userAgent)); // No iframe on WP8, to match 1.9 behavior
23+
24+
var _frames = new function(){
25+
// summary:
26+
// cache of iframes
27+
28+
var queue = [];
29+
30+
this.pop = function(){
31+
var iframe;
32+
if(queue.length){
33+
iframe = queue.pop();
34+
iframe.style.display="";
35+
}else{
36+
// transparency needed for DialogUnderlay and for tooltips on IE (to see screen near connector)
37+
if(has("ie") < 9){
38+
var burl = config["dojoBlankHtmlUrl"] || require.toUrl("dojo/resources/blank.html") || "javascript:\"\"";
39+
var html="<iframe src='" + burl + "' role='presentation'"
40+
+ " style='position: absolute; left: 0px; top: 0px;"
41+
+ "z-index: -1; filter:Alpha(Opacity=\"0\");'>";
42+
iframe = document.createElement(html);
43+
}else{
44+
iframe = domConstruct.create("iframe");
45+
iframe.src = 'javascript:""';
46+
iframe.className = "dijitBackgroundIframe";
47+
iframe.setAttribute("role", "presentation");
48+
domStyle.set(iframe, "opacity", 0.1);
49+
}
50+
iframe.tabIndex = -1; // Magic to prevent iframe from getting focus on tab keypress - as style didn't work.
51+
}
52+
return iframe;
53+
};
54+
55+
this.push = function(iframe){
56+
iframe.style.display="none";
57+
queue.push(iframe);
58+
}
59+
}();
60+
61+
62+
dijit.BackgroundIframe = function(/*DomNode*/ node){
63+
// summary:
64+
// For IE/FF z-index shenanigans. id attribute is required.
65+
//
66+
// description:
67+
// new dijit.BackgroundIframe(node).
68+
//
69+
// Makes a background iframe as a child of node, that fills
70+
// area (and position) of node
71+
72+
if(!node.id){ throw new Error("no id"); }
73+
if(has("config-bgIframe")){
74+
var iframe = (this.iframe = _frames.pop());
75+
node.appendChild(iframe);
76+
if(has("ie")<7 || has("quirks")){
77+
this.resize(node);
78+
this._conn = on(node, 'resize', lang.hitch(this, "resize", node));
79+
}else{
80+
domStyle.set(iframe, {
81+
width: '100%',
82+
height: '100%'
83+
});
84+
}
85+
}
86+
};
87+
88+
lang.extend(dijit.BackgroundIframe, {
89+
resize: function(node){
90+
// summary:
91+
// Resize the iframe so it's the same size as node.
92+
// Needed on IE6 and IE/quirks because height:100% doesn't work right.
93+
if(this.iframe){
94+
domStyle.set(this.iframe, {
95+
width: node.offsetWidth + 'px',
96+
height: node.offsetHeight + 'px'
97+
});
98+
}
99+
},
100+
destroy: function(){
101+
// summary:
102+
// destroy the iframe
103+
if(this._conn){
104+
this._conn.remove();
105+
this._conn = null;
106+
}
107+
if(this.iframe){
108+
this.iframe.parentNode.removeChild(this.iframe);
109+
_frames.push(this.iframe);
110+
delete this.iframe;
111+
}
112+
}
113+
});
114+
115+
return dijit.BackgroundIframe;
116+
});

0 commit comments

Comments
 (0)