mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-05-24 13:04:08 +03:00
version 1.2.3
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
* OverlayScrollbars
|
||||
* https://github.com/KingSora/OverlayScrollbars
|
||||
*
|
||||
* Version: 1.2.2
|
||||
* Version: 1.2.3
|
||||
*
|
||||
* Copyright KingSora.
|
||||
* https://github.com/KingSora
|
||||
*
|
||||
* Released under the MIT license.
|
||||
* Date: 23.01.2018
|
||||
* Date: 02.02.2018
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
@@ -2,13 +2,13 @@
|
||||
* OverlayScrollbars
|
||||
* https://github.com/KingSora/OverlayScrollbars
|
||||
*
|
||||
* Version: 1.2.2
|
||||
* Version: 1.2.3
|
||||
*
|
||||
* Copyright KingSora.
|
||||
* https://github.com/KingSora
|
||||
*
|
||||
* Released under the MIT license.
|
||||
* Date: 23.01.2018
|
||||
* Date: 02.02.2018
|
||||
*/
|
||||
|
||||
(function (global, factory) {
|
||||
@@ -18,7 +18,7 @@
|
||||
module.exports = factory(global, global.document, undefined);
|
||||
else
|
||||
factory(global, global.document, undefined);
|
||||
}(this, (function(window, document, undefined) {
|
||||
}(typeof window !== "undefined" ? window : this, (function(window, document, undefined) {
|
||||
'use-strict';
|
||||
var PLUGINNAME = "OverlayScrollbars";
|
||||
var COMPATIBILITY = {
|
||||
@@ -533,7 +533,7 @@
|
||||
animObj.q.splice(0, 1);
|
||||
if(animObj.q.length > 0) {
|
||||
nextAnim = animObj.q[0];
|
||||
anim(animObj.el, nextAnim.props, nextAnim.duration, nextAnim.easing, nextAnim.complete, true);
|
||||
animate(animObj.el, nextAnim.props, nextAnim.duration, nextAnim.easing, nextAnim.complete, true);
|
||||
}
|
||||
else {
|
||||
index = FakejQuery.inArray(animObj, _animations);
|
||||
@@ -1580,8 +1580,8 @@
|
||||
}
|
||||
|
||||
function getWindowDPR() {
|
||||
var dDPI = screen.deviceXDPI || 0;
|
||||
var sDPI = screen.logicalXDPI || 1;
|
||||
var dDPI = window.screen.deviceXDPI || 0;
|
||||
var sDPI = window.screen.logicalXDPI || 1;
|
||||
return window.devicePixelRatio || (dDPI / sDPI);
|
||||
}
|
||||
|
||||
@@ -5761,4 +5761,5 @@
|
||||
_pluginGlobals.defaultOptions = helper.extend(true, { }, currDefaultOptions , newDefaultOptions);
|
||||
};
|
||||
})(COMPATIBILITY, INSTANCES, HELPER, BYPROPERTYPATH);
|
||||
return window[PLUGINNAME];
|
||||
})));
|
||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
@@ -2,13 +2,13 @@
|
||||
* OverlayScrollbars
|
||||
* https://github.com/KingSora/OverlayScrollbars
|
||||
*
|
||||
* Version: 1.2.2
|
||||
* Version: 1.2.3
|
||||
*
|
||||
* Copyright KingSora.
|
||||
* https://github.com/KingSora
|
||||
*
|
||||
* Released under the MIT license.
|
||||
* Date: 23.01.2018
|
||||
* Date: 02.02.2018
|
||||
*/
|
||||
|
||||
(function (global, factory) {
|
||||
@@ -18,7 +18,7 @@
|
||||
module.exports = factory(global, global.document, undefined, require('jquery'));
|
||||
else
|
||||
factory(global, global.document, undefined, global.jQuery);
|
||||
}(this, (function(window, document, undefined, jQuery) {
|
||||
}(typeof window !== "undefined" ? window : this, (function(window, document, undefined, jQuery) {
|
||||
'use-strict';
|
||||
var PLUGINNAME = "OverlayScrollbars";
|
||||
var COMPATIBILITY = {
|
||||
@@ -609,8 +609,8 @@
|
||||
}
|
||||
|
||||
function getWindowDPR() {
|
||||
var dDPI = screen.deviceXDPI || 0;
|
||||
var sDPI = screen.logicalXDPI || 1;
|
||||
var dDPI = window.screen.deviceXDPI || 0;
|
||||
var sDPI = window.screen.logicalXDPI || 1;
|
||||
return window.devicePixelRatio || (dDPI / sDPI);
|
||||
}
|
||||
|
||||
@@ -4790,4 +4790,5 @@
|
||||
_pluginGlobals.defaultOptions = helper.extend(true, { }, currDefaultOptions , newDefaultOptions);
|
||||
};
|
||||
})(COMPATIBILITY, INSTANCES, HELPER, BYPROPERTYPATH);
|
||||
return window[PLUGINNAME];
|
||||
})));
|
||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "overlayscrollbars",
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.3",
|
||||
"description": "A javascript scrollbar plugin which hides the native scrollbars and provides custom styleable overlay scrollbars, but keeps the native functionality and feeling.",
|
||||
"keywords" : [
|
||||
"overlayscrollbars",
|
||||
|
||||
Reference in New Issue
Block a user