dailer 5 years ago
parent
commit
8231c82a13
  1. 24
      dist/2.0/fineui.ie.js
  2. 8
      dist/2.0/fineui.ie.min.js
  3. 24
      dist/2.0/fineui.js
  4. 2
      dist/2.0/fineui.min.css
  5. 8
      dist/2.0/fineui.min.js
  6. 24
      dist/bundle.ie.js
  7. 8
      dist/bundle.ie.min.js
  8. 24
      dist/bundle.js
  9. 2
      dist/bundle.min.css
  10. 8
      dist/bundle.min.js
  11. 24
      dist/core.js
  12. 24
      dist/fineui.ie.js
  13. 8
      dist/fineui.ie.min.js
  14. 24
      dist/fineui.js
  15. 2
      dist/fineui.min.css
  16. 8
      dist/fineui.min.js
  17. 2
      dist/utils.min.js

24
dist/2.0/fineui.ie.js vendored

@ -21576,14 +21576,20 @@ BI.prepares.push(function () {
if (_global.document && !attachEvent) { if (_global.document && !attachEvent) {
var requestFrame = (function () { var requestFrame = (function () {
var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame || var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame ||
function (fn) { return _global.setTimeout(fn, 20); }; function (fn) {
return function (fn) { return raf(fn); }; return _global.setTimeout(fn, 20);
};
return function (fn) {
return raf(fn);
};
})(); })();
var cancelFrame = (function () { var cancelFrame = (function () {
var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame || var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame ||
_global.clearTimeout; _global.clearTimeout;
return function (id) { return cancel(id); }; return function (id) {
return cancel(id);
};
})(); })();
var resetTriggers = function (element) { var resetTriggers = function (element) {
@ -21656,8 +21662,8 @@ BI.prepares.push(function () {
if (!stylesCreated) { if (!stylesCreated) {
// opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360 // opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360
var css = (animationKeyframes ? animationKeyframes : "") + var css = (animationKeyframes ? animationKeyframes : "") +
".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " + ".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " +
".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }", ".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }",
head = document.head || document.getElementsByTagName("head")[0], head = document.head || document.getElementsByTagName("head")[0],
style = document.createElement("style"); style = document.createElement("style");
@ -21676,7 +21682,7 @@ BI.prepares.push(function () {
var addResizeListener = function (element, fn) { var addResizeListener = function (element, fn) {
if (attachEvent) { if (attachEvent) {
element.attachEvent("onresize", fn); element.attachEvent("onresize", fn);
fn(); BI.defer(fn);
} else { } else {
if (!element.__resizeTriggers__) { if (!element.__resizeTriggers__) {
if (getComputedStyle(element).position === "static") element.style.position = "relative"; if (getComputedStyle(element).position === "static") element.style.position = "relative";
@ -21688,11 +21694,15 @@ BI.prepares.push(function () {
"<div class=\"contract-trigger\"></div>"; "<div class=\"contract-trigger\"></div>";
element.appendChild(element.__resizeTriggers__); element.appendChild(element.__resizeTriggers__);
resetTriggers(element); resetTriggers(element);
element.addEventListener("scroll", scrollListener, true); element.addEventListener("scroll", scrollListener, true);
/* Listen for a css animation to detect element display/re-attach */ /* Listen for a css animation to detect element display/re-attach */
animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) { animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) {
if (e.animationName === animationName) {resetTriggers(element);} if (e.animationName === animationName) {
resetTriggers(element);
}
}); });
} }
element.__resizeListeners__.push(fn); element.__resizeListeners__.push(fn);

8
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

24
dist/2.0/fineui.js vendored

@ -21576,14 +21576,20 @@ BI.prepares.push(function () {
if (_global.document && !attachEvent) { if (_global.document && !attachEvent) {
var requestFrame = (function () { var requestFrame = (function () {
var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame || var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame ||
function (fn) { return _global.setTimeout(fn, 20); }; function (fn) {
return function (fn) { return raf(fn); }; return _global.setTimeout(fn, 20);
};
return function (fn) {
return raf(fn);
};
})(); })();
var cancelFrame = (function () { var cancelFrame = (function () {
var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame || var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame ||
_global.clearTimeout; _global.clearTimeout;
return function (id) { return cancel(id); }; return function (id) {
return cancel(id);
};
})(); })();
var resetTriggers = function (element) { var resetTriggers = function (element) {
@ -21656,8 +21662,8 @@ BI.prepares.push(function () {
if (!stylesCreated) { if (!stylesCreated) {
// opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360 // opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360
var css = (animationKeyframes ? animationKeyframes : "") + var css = (animationKeyframes ? animationKeyframes : "") +
".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " + ".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " +
".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }", ".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }",
head = document.head || document.getElementsByTagName("head")[0], head = document.head || document.getElementsByTagName("head")[0],
style = document.createElement("style"); style = document.createElement("style");
@ -21676,7 +21682,7 @@ BI.prepares.push(function () {
var addResizeListener = function (element, fn) { var addResizeListener = function (element, fn) {
if (attachEvent) { if (attachEvent) {
element.attachEvent("onresize", fn); element.attachEvent("onresize", fn);
fn(); BI.defer(fn);
} else { } else {
if (!element.__resizeTriggers__) { if (!element.__resizeTriggers__) {
if (getComputedStyle(element).position === "static") element.style.position = "relative"; if (getComputedStyle(element).position === "static") element.style.position = "relative";
@ -21688,11 +21694,15 @@ BI.prepares.push(function () {
"<div class=\"contract-trigger\"></div>"; "<div class=\"contract-trigger\"></div>";
element.appendChild(element.__resizeTriggers__); element.appendChild(element.__resizeTriggers__);
resetTriggers(element); resetTriggers(element);
element.addEventListener("scroll", scrollListener, true); element.addEventListener("scroll", scrollListener, true);
/* Listen for a css animation to detect element display/re-attach */ /* Listen for a css animation to detect element display/re-attach */
animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) { animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) {
if (e.animationName === animationName) {resetTriggers(element);} if (e.animationName === animationName) {
resetTriggers(element);
}
}); });
} }
element.__resizeListeners__.push(fn); element.__resizeListeners__.push(fn);

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

8
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

24
dist/bundle.ie.js vendored

@ -21576,14 +21576,20 @@ BI.prepares.push(function () {
if (_global.document && !attachEvent) { if (_global.document && !attachEvent) {
var requestFrame = (function () { var requestFrame = (function () {
var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame || var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame ||
function (fn) { return _global.setTimeout(fn, 20); }; function (fn) {
return function (fn) { return raf(fn); }; return _global.setTimeout(fn, 20);
};
return function (fn) {
return raf(fn);
};
})(); })();
var cancelFrame = (function () { var cancelFrame = (function () {
var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame || var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame ||
_global.clearTimeout; _global.clearTimeout;
return function (id) { return cancel(id); }; return function (id) {
return cancel(id);
};
})(); })();
var resetTriggers = function (element) { var resetTriggers = function (element) {
@ -21656,8 +21662,8 @@ BI.prepares.push(function () {
if (!stylesCreated) { if (!stylesCreated) {
// opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360 // opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360
var css = (animationKeyframes ? animationKeyframes : "") + var css = (animationKeyframes ? animationKeyframes : "") +
".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " + ".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " +
".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }", ".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }",
head = document.head || document.getElementsByTagName("head")[0], head = document.head || document.getElementsByTagName("head")[0],
style = document.createElement("style"); style = document.createElement("style");
@ -21676,7 +21682,7 @@ BI.prepares.push(function () {
var addResizeListener = function (element, fn) { var addResizeListener = function (element, fn) {
if (attachEvent) { if (attachEvent) {
element.attachEvent("onresize", fn); element.attachEvent("onresize", fn);
fn(); BI.defer(fn);
} else { } else {
if (!element.__resizeTriggers__) { if (!element.__resizeTriggers__) {
if (getComputedStyle(element).position === "static") element.style.position = "relative"; if (getComputedStyle(element).position === "static") element.style.position = "relative";
@ -21688,11 +21694,15 @@ BI.prepares.push(function () {
"<div class=\"contract-trigger\"></div>"; "<div class=\"contract-trigger\"></div>";
element.appendChild(element.__resizeTriggers__); element.appendChild(element.__resizeTriggers__);
resetTriggers(element); resetTriggers(element);
element.addEventListener("scroll", scrollListener, true); element.addEventListener("scroll", scrollListener, true);
/* Listen for a css animation to detect element display/re-attach */ /* Listen for a css animation to detect element display/re-attach */
animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) { animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) {
if (e.animationName === animationName) {resetTriggers(element);} if (e.animationName === animationName) {
resetTriggers(element);
}
}); });
} }
element.__resizeListeners__.push(fn); element.__resizeListeners__.push(fn);

8
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

24
dist/bundle.js vendored

@ -21576,14 +21576,20 @@ BI.prepares.push(function () {
if (_global.document && !attachEvent) { if (_global.document && !attachEvent) {
var requestFrame = (function () { var requestFrame = (function () {
var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame || var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame ||
function (fn) { return _global.setTimeout(fn, 20); }; function (fn) {
return function (fn) { return raf(fn); }; return _global.setTimeout(fn, 20);
};
return function (fn) {
return raf(fn);
};
})(); })();
var cancelFrame = (function () { var cancelFrame = (function () {
var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame || var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame ||
_global.clearTimeout; _global.clearTimeout;
return function (id) { return cancel(id); }; return function (id) {
return cancel(id);
};
})(); })();
var resetTriggers = function (element) { var resetTriggers = function (element) {
@ -21656,8 +21662,8 @@ BI.prepares.push(function () {
if (!stylesCreated) { if (!stylesCreated) {
// opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360 // opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360
var css = (animationKeyframes ? animationKeyframes : "") + var css = (animationKeyframes ? animationKeyframes : "") +
".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " + ".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " +
".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }", ".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }",
head = document.head || document.getElementsByTagName("head")[0], head = document.head || document.getElementsByTagName("head")[0],
style = document.createElement("style"); style = document.createElement("style");
@ -21676,7 +21682,7 @@ BI.prepares.push(function () {
var addResizeListener = function (element, fn) { var addResizeListener = function (element, fn) {
if (attachEvent) { if (attachEvent) {
element.attachEvent("onresize", fn); element.attachEvent("onresize", fn);
fn(); BI.defer(fn);
} else { } else {
if (!element.__resizeTriggers__) { if (!element.__resizeTriggers__) {
if (getComputedStyle(element).position === "static") element.style.position = "relative"; if (getComputedStyle(element).position === "static") element.style.position = "relative";
@ -21688,11 +21694,15 @@ BI.prepares.push(function () {
"<div class=\"contract-trigger\"></div>"; "<div class=\"contract-trigger\"></div>";
element.appendChild(element.__resizeTriggers__); element.appendChild(element.__resizeTriggers__);
resetTriggers(element); resetTriggers(element);
element.addEventListener("scroll", scrollListener, true); element.addEventListener("scroll", scrollListener, true);
/* Listen for a css animation to detect element display/re-attach */ /* Listen for a css animation to detect element display/re-attach */
animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) { animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) {
if (e.animationName === animationName) {resetTriggers(element);} if (e.animationName === animationName) {
resetTriggers(element);
}
}); });
} }
element.__resizeListeners__.push(fn); element.__resizeListeners__.push(fn);

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

8
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

24
dist/core.js vendored

@ -21576,14 +21576,20 @@ BI.prepares.push(function () {
if (_global.document && !attachEvent) { if (_global.document && !attachEvent) {
var requestFrame = (function () { var requestFrame = (function () {
var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame || var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame ||
function (fn) { return _global.setTimeout(fn, 20); }; function (fn) {
return function (fn) { return raf(fn); }; return _global.setTimeout(fn, 20);
};
return function (fn) {
return raf(fn);
};
})(); })();
var cancelFrame = (function () { var cancelFrame = (function () {
var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame || var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame ||
_global.clearTimeout; _global.clearTimeout;
return function (id) { return cancel(id); }; return function (id) {
return cancel(id);
};
})(); })();
var resetTriggers = function (element) { var resetTriggers = function (element) {
@ -21656,8 +21662,8 @@ BI.prepares.push(function () {
if (!stylesCreated) { if (!stylesCreated) {
// opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360 // opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360
var css = (animationKeyframes ? animationKeyframes : "") + var css = (animationKeyframes ? animationKeyframes : "") +
".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " + ".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " +
".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }", ".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }",
head = document.head || document.getElementsByTagName("head")[0], head = document.head || document.getElementsByTagName("head")[0],
style = document.createElement("style"); style = document.createElement("style");
@ -21676,7 +21682,7 @@ BI.prepares.push(function () {
var addResizeListener = function (element, fn) { var addResizeListener = function (element, fn) {
if (attachEvent) { if (attachEvent) {
element.attachEvent("onresize", fn); element.attachEvent("onresize", fn);
fn(); BI.defer(fn);
} else { } else {
if (!element.__resizeTriggers__) { if (!element.__resizeTriggers__) {
if (getComputedStyle(element).position === "static") element.style.position = "relative"; if (getComputedStyle(element).position === "static") element.style.position = "relative";
@ -21688,11 +21694,15 @@ BI.prepares.push(function () {
"<div class=\"contract-trigger\"></div>"; "<div class=\"contract-trigger\"></div>";
element.appendChild(element.__resizeTriggers__); element.appendChild(element.__resizeTriggers__);
resetTriggers(element); resetTriggers(element);
element.addEventListener("scroll", scrollListener, true); element.addEventListener("scroll", scrollListener, true);
/* Listen for a css animation to detect element display/re-attach */ /* Listen for a css animation to detect element display/re-attach */
animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) { animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) {
if (e.animationName === animationName) {resetTriggers(element);} if (e.animationName === animationName) {
resetTriggers(element);
}
}); });
} }
element.__resizeListeners__.push(fn); element.__resizeListeners__.push(fn);

24
dist/fineui.ie.js vendored

@ -21821,14 +21821,20 @@ BI.prepares.push(function () {
if (_global.document && !attachEvent) { if (_global.document && !attachEvent) {
var requestFrame = (function () { var requestFrame = (function () {
var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame || var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame ||
function (fn) { return _global.setTimeout(fn, 20); }; function (fn) {
return function (fn) { return raf(fn); }; return _global.setTimeout(fn, 20);
};
return function (fn) {
return raf(fn);
};
})(); })();
var cancelFrame = (function () { var cancelFrame = (function () {
var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame || var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame ||
_global.clearTimeout; _global.clearTimeout;
return function (id) { return cancel(id); }; return function (id) {
return cancel(id);
};
})(); })();
var resetTriggers = function (element) { var resetTriggers = function (element) {
@ -21901,8 +21907,8 @@ BI.prepares.push(function () {
if (!stylesCreated) { if (!stylesCreated) {
// opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360 // opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360
var css = (animationKeyframes ? animationKeyframes : "") + var css = (animationKeyframes ? animationKeyframes : "") +
".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " + ".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " +
".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }", ".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }",
head = document.head || document.getElementsByTagName("head")[0], head = document.head || document.getElementsByTagName("head")[0],
style = document.createElement("style"); style = document.createElement("style");
@ -21921,7 +21927,7 @@ BI.prepares.push(function () {
var addResizeListener = function (element, fn) { var addResizeListener = function (element, fn) {
if (attachEvent) { if (attachEvent) {
element.attachEvent("onresize", fn); element.attachEvent("onresize", fn);
fn(); BI.defer(fn);
} else { } else {
if (!element.__resizeTriggers__) { if (!element.__resizeTriggers__) {
if (getComputedStyle(element).position === "static") element.style.position = "relative"; if (getComputedStyle(element).position === "static") element.style.position = "relative";
@ -21933,11 +21939,15 @@ BI.prepares.push(function () {
"<div class=\"contract-trigger\"></div>"; "<div class=\"contract-trigger\"></div>";
element.appendChild(element.__resizeTriggers__); element.appendChild(element.__resizeTriggers__);
resetTriggers(element); resetTriggers(element);
element.addEventListener("scroll", scrollListener, true); element.addEventListener("scroll", scrollListener, true);
/* Listen for a css animation to detect element display/re-attach */ /* Listen for a css animation to detect element display/re-attach */
animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) { animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) {
if (e.animationName === animationName) {resetTriggers(element);} if (e.animationName === animationName) {
resetTriggers(element);
}
}); });
} }
element.__resizeListeners__.push(fn); element.__resizeListeners__.push(fn);

8
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

24
dist/fineui.js vendored

@ -21821,14 +21821,20 @@ BI.prepares.push(function () {
if (_global.document && !attachEvent) { if (_global.document && !attachEvent) {
var requestFrame = (function () { var requestFrame = (function () {
var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame || var raf = _global.requestAnimationFrame || _global.mozRequestAnimationFrame || _global.webkitRequestAnimationFrame ||
function (fn) { return _global.setTimeout(fn, 20); }; function (fn) {
return function (fn) { return raf(fn); }; return _global.setTimeout(fn, 20);
};
return function (fn) {
return raf(fn);
};
})(); })();
var cancelFrame = (function () { var cancelFrame = (function () {
var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame || var cancel = _global.cancelAnimationFrame || _global.mozCancelAnimationFrame || _global.webkitCancelAnimationFrame ||
_global.clearTimeout; _global.clearTimeout;
return function (id) { return cancel(id); }; return function (id) {
return cancel(id);
};
})(); })();
var resetTriggers = function (element) { var resetTriggers = function (element) {
@ -21901,8 +21907,8 @@ BI.prepares.push(function () {
if (!stylesCreated) { if (!stylesCreated) {
// opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360 // opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360
var css = (animationKeyframes ? animationKeyframes : "") + var css = (animationKeyframes ? animationKeyframes : "") +
".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " + ".resize-triggers { " + (animationStyle ? animationStyle : "") + "visibility: hidden; opacity: 0; } " +
".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }", ".resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }",
head = document.head || document.getElementsByTagName("head")[0], head = document.head || document.getElementsByTagName("head")[0],
style = document.createElement("style"); style = document.createElement("style");
@ -21921,7 +21927,7 @@ BI.prepares.push(function () {
var addResizeListener = function (element, fn) { var addResizeListener = function (element, fn) {
if (attachEvent) { if (attachEvent) {
element.attachEvent("onresize", fn); element.attachEvent("onresize", fn);
fn(); BI.defer(fn);
} else { } else {
if (!element.__resizeTriggers__) { if (!element.__resizeTriggers__) {
if (getComputedStyle(element).position === "static") element.style.position = "relative"; if (getComputedStyle(element).position === "static") element.style.position = "relative";
@ -21933,11 +21939,15 @@ BI.prepares.push(function () {
"<div class=\"contract-trigger\"></div>"; "<div class=\"contract-trigger\"></div>";
element.appendChild(element.__resizeTriggers__); element.appendChild(element.__resizeTriggers__);
resetTriggers(element); resetTriggers(element);
element.addEventListener("scroll", scrollListener, true); element.addEventListener("scroll", scrollListener, true);
/* Listen for a css animation to detect element display/re-attach */ /* Listen for a css animation to detect element display/re-attach */
animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) { animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) {
if (e.animationName === animationName) {resetTriggers(element);} if (e.animationName === animationName) {
resetTriggers(element);
}
}); });
} }
element.__resizeListeners__.push(fn); element.__resizeListeners__.push(fn);

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

8
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save