mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-20 03:30:36 +03:00
version 1.2.3
This commit is contained in:
@@ -2,13 +2,13 @@
|
|||||||
* OverlayScrollbars
|
* OverlayScrollbars
|
||||||
* https://github.com/KingSora/OverlayScrollbars
|
* https://github.com/KingSora/OverlayScrollbars
|
||||||
*
|
*
|
||||||
* Version: 1.2.2
|
* Version: 1.2.3
|
||||||
*
|
*
|
||||||
* Copyright KingSora.
|
* Copyright KingSora.
|
||||||
* https://github.com/KingSora
|
* https://github.com/KingSora
|
||||||
*
|
*
|
||||||
* Released under the MIT license.
|
* 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
|
* OverlayScrollbars
|
||||||
* https://github.com/KingSora/OverlayScrollbars
|
* https://github.com/KingSora/OverlayScrollbars
|
||||||
*
|
*
|
||||||
* Version: 1.2.2
|
* Version: 1.2.3
|
||||||
*
|
*
|
||||||
* Copyright KingSora.
|
* Copyright KingSora.
|
||||||
* https://github.com/KingSora
|
* https://github.com/KingSora
|
||||||
*
|
*
|
||||||
* Released under the MIT license.
|
* Released under the MIT license.
|
||||||
* Date: 23.01.2018
|
* Date: 02.02.2018
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function (global, factory) {
|
(function (global, factory) {
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
module.exports = factory(global, global.document, undefined);
|
module.exports = factory(global, global.document, undefined);
|
||||||
else
|
else
|
||||||
factory(global, global.document, undefined);
|
factory(global, global.document, undefined);
|
||||||
}(this, (function(window, document, undefined) {
|
}(typeof window !== "undefined" ? window : this, (function(window, document, undefined) {
|
||||||
'use-strict';
|
'use-strict';
|
||||||
var PLUGINNAME = "OverlayScrollbars";
|
var PLUGINNAME = "OverlayScrollbars";
|
||||||
var COMPATIBILITY = {
|
var COMPATIBILITY = {
|
||||||
@@ -533,7 +533,7 @@
|
|||||||
animObj.q.splice(0, 1);
|
animObj.q.splice(0, 1);
|
||||||
if(animObj.q.length > 0) {
|
if(animObj.q.length > 0) {
|
||||||
nextAnim = animObj.q[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 {
|
else {
|
||||||
index = FakejQuery.inArray(animObj, _animations);
|
index = FakejQuery.inArray(animObj, _animations);
|
||||||
@@ -1580,8 +1580,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getWindowDPR() {
|
function getWindowDPR() {
|
||||||
var dDPI = screen.deviceXDPI || 0;
|
var dDPI = window.screen.deviceXDPI || 0;
|
||||||
var sDPI = screen.logicalXDPI || 1;
|
var sDPI = window.screen.logicalXDPI || 1;
|
||||||
return window.devicePixelRatio || (dDPI / sDPI);
|
return window.devicePixelRatio || (dDPI / sDPI);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5761,4 +5761,5 @@
|
|||||||
_pluginGlobals.defaultOptions = helper.extend(true, { }, currDefaultOptions , newDefaultOptions);
|
_pluginGlobals.defaultOptions = helper.extend(true, { }, currDefaultOptions , newDefaultOptions);
|
||||||
};
|
};
|
||||||
})(COMPATIBILITY, INSTANCES, HELPER, BYPROPERTYPATH);
|
})(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
|
* OverlayScrollbars
|
||||||
* https://github.com/KingSora/OverlayScrollbars
|
* https://github.com/KingSora/OverlayScrollbars
|
||||||
*
|
*
|
||||||
* Version: 1.2.2
|
* Version: 1.2.3
|
||||||
*
|
*
|
||||||
* Copyright KingSora.
|
* Copyright KingSora.
|
||||||
* https://github.com/KingSora
|
* https://github.com/KingSora
|
||||||
*
|
*
|
||||||
* Released under the MIT license.
|
* Released under the MIT license.
|
||||||
* Date: 23.01.2018
|
* Date: 02.02.2018
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function (global, factory) {
|
(function (global, factory) {
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
module.exports = factory(global, global.document, undefined, require('jquery'));
|
module.exports = factory(global, global.document, undefined, require('jquery'));
|
||||||
else
|
else
|
||||||
factory(global, global.document, undefined, global.jQuery);
|
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';
|
'use-strict';
|
||||||
var PLUGINNAME = "OverlayScrollbars";
|
var PLUGINNAME = "OverlayScrollbars";
|
||||||
var COMPATIBILITY = {
|
var COMPATIBILITY = {
|
||||||
@@ -609,8 +609,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getWindowDPR() {
|
function getWindowDPR() {
|
||||||
var dDPI = screen.deviceXDPI || 0;
|
var dDPI = window.screen.deviceXDPI || 0;
|
||||||
var sDPI = screen.logicalXDPI || 1;
|
var sDPI = window.screen.logicalXDPI || 1;
|
||||||
return window.devicePixelRatio || (dDPI / sDPI);
|
return window.devicePixelRatio || (dDPI / sDPI);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4790,4 +4790,5 @@
|
|||||||
_pluginGlobals.defaultOptions = helper.extend(true, { }, currDefaultOptions , newDefaultOptions);
|
_pluginGlobals.defaultOptions = helper.extend(true, { }, currDefaultOptions , newDefaultOptions);
|
||||||
};
|
};
|
||||||
})(COMPATIBILITY, INSTANCES, HELPER, BYPROPERTYPATH);
|
})(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",
|
"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.",
|
"description": "A javascript scrollbar plugin which hides the native scrollbars and provides custom styleable overlay scrollbars, but keeps the native functionality and feeling.",
|
||||||
"keywords" : [
|
"keywords" : [
|
||||||
"overlayscrollbars",
|
"overlayscrollbars",
|
||||||
|
|||||||
Reference in New Issue
Block a user