Updated: ckeditor 4.5.3, jquery 1.11.3, openpgpjs 1.2.0

OpenPGP decrypt fix
+ Small fixes
This commit is contained in:
RainLoop Team 2015-09-17 22:48:52 +03:00
parent 4deb083d7d
commit 87887373c1
370 changed files with 10805 additions and 5637 deletions

29
dev/External/ko.js vendored
View file

@ -73,6 +73,35 @@
}
};
ko.bindingHandlers.scrollerShadows = {
'init': function (oElement) {
var
iLimit = 8,
$oEl = $(oElement),
$win = $(window),
oCont = $oEl.find('[data-scroller-shadows-content]')[0] || null,
fFunc = _.throttle(function () {
$oEl
.toggleClass('scroller-shadow-top', iLimit < oCont.scrollTop)
.toggleClass('scroller-shadow-bottom', oCont.scrollTop + iLimit < oCont.scrollHeight - oCont.clientHeight)
;
}, 100)
;
if (oCont)
{
$(oCont).on('scroll resize', fFunc);
$win.on('resize', fFunc);
ko.utils.domNodeDisposal.addDisposeCallback(oCont, function () {
$(oCont).off();
$win.off('resize', fFunc);
});
}
}
};
ko.bindingHandlers.tooltip = {
'init': function (oElement, fValueAccessor) {