Skip to content

Commit 972a01f

Browse files
chore(): Bump v3.2.3
1 parent 7a95834 commit 972a01f

File tree

7 files changed

+17
-104
lines changed

7 files changed

+17
-104
lines changed

dist/css/glide.core.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
width: 100%;
2626
height: 100%;
2727
flex-shrink: 0;
28-
white-space: initial;
28+
white-space: normal;
2929
user-select: none;
3030
-webkit-touch-callout: none;
3131
-webkit-tap-highlight-color: transparent; }

dist/css/glide.core.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/glide.esm.js

+4-33
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Glide.js v3.2.2
2+
* Glide.js v3.2.3
33
* (c) 2013-2018 Jędrzej Chałubek <[email protected]> (http://jedrzejchalubek.com/)
44
* Released under the MIT License.
55
*/
@@ -1151,16 +1151,6 @@ var MARGIN_TYPE = {
11511151

11521152
function Gaps (Glide, Components, Events) {
11531153
var Gaps = {
1154-
/**
1155-
* Setups gap value based on settings.
1156-
*
1157-
* @return {Void}
1158-
*/
1159-
mount: function mount() {
1160-
this.value = Glide.settings.gap;
1161-
},
1162-
1163-
11641154
/**
11651155
* Applies gaps between slides. First and last
11661156
* slides do not receive it's edge margins.
@@ -1211,18 +1201,7 @@ function Gaps (Glide, Components, Events) {
12111201
* @returns {Number}
12121202
*/
12131203
get: function get() {
1214-
return Gaps._v;
1215-
},
1216-
1217-
1218-
/**
1219-
* Sets value of the gap.
1220-
*
1221-
* @param {String} value
1222-
* @return {Void}
1223-
*/
1224-
set: function set(value) {
1225-
Gaps._v = toInt(value);
1204+
return toInt(Glide.settings.gap);
12261205
}
12271206
});
12281207

@@ -1252,14 +1231,6 @@ function Gaps (Glide, Components, Events) {
12521231
}
12531232
});
12541233

1255-
/**
1256-
* Remount component:
1257-
* - on updating via API, to update gap value
1258-
*/
1259-
Events.on('update', function () {
1260-
Gaps.mount();
1261-
});
1262-
12631234
/**
12641235
* Apply calculated gaps:
12651236
* - after building, so slides (including clones) will receive proper margins
@@ -2697,7 +2668,7 @@ function Swipe (Glide, Components, Events) {
26972668
if (settings.swipeThreshold) {
26982669
Binder.on(START_EVENTS[0], Components.Html.wrapper, function (event) {
26992670
_this.start(event);
2700-
}, { passive: true });
2671+
});
27012672
}
27022673

27032674
if (settings.dragThreshold) {
@@ -2729,7 +2700,7 @@ function Swipe (Glide, Components, Events) {
27292700

27302701
Binder.on(MOVE_EVENTS, Components.Html.wrapper, throttle(function (event) {
27312702
_this2.move(event);
2732-
}, Glide.settings.throttle), { passive: true });
2703+
}, Glide.settings.throttle));
27332704
},
27342705

27352706

dist/glide.js

+4-33
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Glide.js v3.2.2
2+
* Glide.js v3.2.3
33
* (c) 2013-2018 Jędrzej Chałubek <[email protected]> (http://jedrzejchalubek.com/)
44
* Released under the MIT License.
55
*/
@@ -1157,16 +1157,6 @@
11571157

11581158
function Gaps (Glide, Components, Events) {
11591159
var Gaps = {
1160-
/**
1161-
* Setups gap value based on settings.
1162-
*
1163-
* @return {Void}
1164-
*/
1165-
mount: function mount() {
1166-
this.value = Glide.settings.gap;
1167-
},
1168-
1169-
11701160
/**
11711161
* Applies gaps between slides. First and last
11721162
* slides do not receive it's edge margins.
@@ -1217,18 +1207,7 @@
12171207
* @returns {Number}
12181208
*/
12191209
get: function get() {
1220-
return Gaps._v;
1221-
},
1222-
1223-
1224-
/**
1225-
* Sets value of the gap.
1226-
*
1227-
* @param {String} value
1228-
* @return {Void}
1229-
*/
1230-
set: function set(value) {
1231-
Gaps._v = toInt(value);
1210+
return toInt(Glide.settings.gap);
12321211
}
12331212
});
12341213

@@ -1258,14 +1237,6 @@
12581237
}
12591238
});
12601239

1261-
/**
1262-
* Remount component:
1263-
* - on updating via API, to update gap value
1264-
*/
1265-
Events.on('update', function () {
1266-
Gaps.mount();
1267-
});
1268-
12691240
/**
12701241
* Apply calculated gaps:
12711242
* - after building, so slides (including clones) will receive proper margins
@@ -2703,7 +2674,7 @@
27032674
if (settings.swipeThreshold) {
27042675
Binder.on(START_EVENTS[0], Components.Html.wrapper, function (event) {
27052676
_this.start(event);
2706-
}, { passive: true });
2677+
});
27072678
}
27082679

27092680
if (settings.dragThreshold) {
@@ -2735,7 +2706,7 @@
27352706

27362707
Binder.on(MOVE_EVENTS, Components.Html.wrapper, throttle(function (event) {
27372708
_this2.move(event);
2738-
}, Glide.settings.throttle), { passive: true });
2709+
}, Glide.settings.throttle));
27392710
},
27402711

27412712

dist/glide.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/glide.modular.esm.js

+4-33
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Glide.js v3.2.2
2+
* Glide.js v3.2.3
33
* (c) 2013-2018 Jędrzej Chałubek <[email protected]> (http://jedrzejchalubek.com/)
44
* Released under the MIT License.
55
*/
@@ -1151,16 +1151,6 @@ var MARGIN_TYPE = {
11511151

11521152
function Gaps (Glide, Components, Events) {
11531153
var Gaps = {
1154-
/**
1155-
* Setups gap value based on settings.
1156-
*
1157-
* @return {Void}
1158-
*/
1159-
mount: function mount() {
1160-
this.value = Glide.settings.gap;
1161-
},
1162-
1163-
11641154
/**
11651155
* Applies gaps between slides. First and last
11661156
* slides do not receive it's edge margins.
@@ -1211,18 +1201,7 @@ function Gaps (Glide, Components, Events) {
12111201
* @returns {Number}
12121202
*/
12131203
get: function get() {
1214-
return Gaps._v;
1215-
},
1216-
1217-
1218-
/**
1219-
* Sets value of the gap.
1220-
*
1221-
* @param {String} value
1222-
* @return {Void}
1223-
*/
1224-
set: function set(value) {
1225-
Gaps._v = toInt(value);
1204+
return toInt(Glide.settings.gap);
12261205
}
12271206
});
12281207

@@ -1252,14 +1231,6 @@ function Gaps (Glide, Components, Events) {
12521231
}
12531232
});
12541233

1255-
/**
1256-
* Remount component:
1257-
* - on updating via API, to update gap value
1258-
*/
1259-
Events.on('update', function () {
1260-
Gaps.mount();
1261-
});
1262-
12631234
/**
12641235
* Apply calculated gaps:
12651236
* - after building, so slides (including clones) will receive proper margins
@@ -2697,7 +2668,7 @@ function swipe (Glide, Components, Events) {
26972668
if (settings.swipeThreshold) {
26982669
Binder.on(START_EVENTS[0], Components.Html.wrapper, function (event) {
26992670
_this.start(event);
2700-
}, { passive: true });
2671+
});
27012672
}
27022673

27032674
if (settings.dragThreshold) {
@@ -2729,7 +2700,7 @@ function swipe (Glide, Components, Events) {
27292700

27302701
Binder.on(MOVE_EVENTS, Components.Html.wrapper, throttle(function (event) {
27312702
_this2.move(event);
2732-
}, Glide.settings.throttle), { passive: true });
2703+
}, Glide.settings.throttle));
27332704
},
27342705

27352706

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@glidejs/glide",
3-
"version": "3.2.2",
3+
"version": "3.2.3",
44
"description": "Glide.js is a dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more",
55
"author": "Jędrzej Chałubek <[email protected]> (http://jedrzejchalubek.com/)",
66
"homepage": "https://glidejs.com",

0 commit comments

Comments
 (0)