lory-rails 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSIONS.md +1 -0
- data/lib/lory/rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.lory.js +64 -59
- data/vendor/assets/javascripts/lory.js +64 -59
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 482d5d5df677e5c974fe3e8d7214979836649d45
|
4
|
+
data.tar.gz: 514df4d04032e0af204f224d76744f2bf2ec9eb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cda8c94dee94b267c68d274497d45e505f8dd7e99c6c88a64c09d69f1fa727b4315292895f2f06552927ababc506cead2a91a5bb5e98163e687ea8e630652b8
|
7
|
+
data.tar.gz: 63294345fb7ac36c97c37498439e91b96ecdcb0a9458aac1af9d7ec622b79c9a2f1a3b5968211617c86c9a260a8e1f672ca10281c6f5518af771c40f92733575
|
data/VERSIONS.md
CHANGED
data/lib/lory/rails/version.rb
CHANGED
@@ -75,33 +75,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
75
75
|
/************************************************************************/
|
76
76
|
/******/ ([
|
77
77
|
/* 0 */
|
78
|
-
/***/ (function(module, exports) {
|
79
|
-
|
80
|
-
var g;
|
81
|
-
|
82
|
-
// This works in non-strict mode
|
83
|
-
g = (function() {
|
84
|
-
return this;
|
85
|
-
})();
|
86
|
-
|
87
|
-
try {
|
88
|
-
// This works if eval is allowed (see CSP)
|
89
|
-
g = g || Function("return this")() || (1,eval)("this");
|
90
|
-
} catch(e) {
|
91
|
-
// This works if the window reference is available
|
92
|
-
if(typeof window === "object")
|
93
|
-
g = window;
|
94
|
-
}
|
95
|
-
|
96
|
-
// g can still be undefined, but nothing to do about it...
|
97
|
-
// We return undefined, instead of nothing here, so it's
|
98
|
-
// easier to handle this case. if(!global) { ...}
|
99
|
-
|
100
|
-
module.exports = g;
|
101
|
-
|
102
|
-
|
103
|
-
/***/ }),
|
104
|
-
/* 1 */
|
105
78
|
/***/ (function(module, exports, __webpack_require__) {
|
106
79
|
|
107
80
|
"use strict";
|
@@ -115,15 +88,15 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
115
88
|
|
116
89
|
exports.lory = lory;
|
117
90
|
|
118
|
-
var _detectPrefixes = __webpack_require__(
|
91
|
+
var _detectPrefixes = __webpack_require__(1);
|
119
92
|
|
120
93
|
var _detectPrefixes2 = _interopRequireDefault(_detectPrefixes);
|
121
94
|
|
122
|
-
var _detectSupportsPassive = __webpack_require__(
|
95
|
+
var _detectSupportsPassive = __webpack_require__(2);
|
123
96
|
|
124
97
|
var _detectSupportsPassive2 = _interopRequireDefault(_detectSupportsPassive);
|
125
98
|
|
126
|
-
var _dispatchEvent = __webpack_require__(
|
99
|
+
var _dispatchEvent = __webpack_require__(3);
|
127
100
|
|
128
101
|
var _dispatchEvent2 = _interopRequireDefault(_dispatchEvent);
|
129
102
|
|
@@ -233,12 +206,7 @@ function lory(slider, opts) {
|
|
233
206
|
if (style) {
|
234
207
|
style[prefixes.transition + 'TimingFunction'] = ease;
|
235
208
|
style[prefixes.transition + 'Duration'] = duration + 'ms';
|
236
|
-
|
237
|
-
if (prefixes.hasTranslate3d) {
|
238
|
-
style[prefixes.transform] = 'translate3d(' + to + 'px, 0, 0)';
|
239
|
-
} else {
|
240
|
-
style[prefixes.transform] = 'translate(' + to + 'px, 0)';
|
241
|
-
}
|
209
|
+
style[prefixes.transform] = 'translateX(' + to + 'px)';
|
242
210
|
}
|
243
211
|
}
|
244
212
|
|
@@ -263,9 +231,14 @@ function lory(slider, opts) {
|
|
263
231
|
slidesToScroll = _options3.slidesToScroll,
|
264
232
|
infinite = _options3.infinite,
|
265
233
|
rewind = _options3.rewind,
|
234
|
+
rewindPrev = _options3.rewindPrev,
|
266
235
|
rewindSpeed = _options3.rewindSpeed,
|
267
236
|
ease = _options3.ease,
|
268
|
-
classNameActiveSlide = _options3.classNameActiveSlide
|
237
|
+
classNameActiveSlide = _options3.classNameActiveSlide,
|
238
|
+
_options3$classNameDi = _options3.classNameDisabledNextCtrl,
|
239
|
+
classNameDisabledNextCtrl = _options3$classNameDi === undefined ? 'disabled' : _options3$classNameDi,
|
240
|
+
_options3$classNameDi2 = _options3.classNameDisabledPrevCtrl,
|
241
|
+
classNameDisabledPrevCtrl = _options3$classNameDi2 === undefined ? 'disabled' : _options3$classNameDi2;
|
269
242
|
|
270
243
|
|
271
244
|
var duration = slideSpeed;
|
@@ -282,10 +255,10 @@ function lory(slider, opts) {
|
|
282
255
|
* Reset control classes
|
283
256
|
*/
|
284
257
|
if (prevCtrl) {
|
285
|
-
prevCtrl.classList.remove(
|
258
|
+
prevCtrl.classList.remove(classNameDisabledPrevCtrl);
|
286
259
|
}
|
287
260
|
if (nextCtrl) {
|
288
|
-
nextCtrl.classList.remove(
|
261
|
+
nextCtrl.classList.remove(classNameDisabledNextCtrl);
|
289
262
|
}
|
290
263
|
|
291
264
|
if (typeof nextIndex !== 'number') {
|
@@ -310,6 +283,11 @@ function lory(slider, opts) {
|
|
310
283
|
nextIndex += infinite;
|
311
284
|
}
|
312
285
|
|
286
|
+
if (rewindPrev && Math.abs(position.x) === 0 && direction === false) {
|
287
|
+
nextIndex = slides.length - 1;
|
288
|
+
duration = rewindSpeed;
|
289
|
+
}
|
290
|
+
|
313
291
|
var nextOffset = Math.min(Math.max(slides[nextIndex].offsetLeft * -1, maxOffset * -1), 0);
|
314
292
|
|
315
293
|
if (rewind && Math.abs(position.x) === maxOffset && direction) {
|
@@ -360,12 +338,12 @@ function lory(slider, opts) {
|
|
360
338
|
* update classes for next and prev arrows
|
361
339
|
* based on user settings
|
362
340
|
*/
|
363
|
-
if (prevCtrl && !infinite && nextIndex === 0) {
|
364
|
-
prevCtrl.classList.add(
|
341
|
+
if (prevCtrl && !infinite && !rewindPrev && nextIndex === 0) {
|
342
|
+
prevCtrl.classList.add(classNameDisabledPrevCtrl);
|
365
343
|
}
|
366
344
|
|
367
345
|
if (nextCtrl && !infinite && !rewind && nextIndex + 1 === slides.length) {
|
368
|
-
nextCtrl.classList.add(
|
346
|
+
nextCtrl.classList.add(classNameDisabledNextCtrl);
|
369
347
|
}
|
370
348
|
|
371
349
|
dispatchSliderEvent('after', 'slide', {
|
@@ -388,6 +366,10 @@ function lory(slider, opts) {
|
|
388
366
|
classNameSlideContainer = _options4.classNameSlideContainer,
|
389
367
|
classNamePrevCtrl = _options4.classNamePrevCtrl,
|
390
368
|
classNameNextCtrl = _options4.classNameNextCtrl,
|
369
|
+
_options4$classNameDi = _options4.classNameDisabledNextCtrl,
|
370
|
+
classNameDisabledNextCtrl = _options4$classNameDi === undefined ? 'disabled' : _options4$classNameDi,
|
371
|
+
_options4$classNameDi2 = _options4.classNameDisabledPrevCtrl,
|
372
|
+
classNameDisabledPrevCtrl = _options4$classNameDi2 === undefined ? 'disabled' : _options4$classNameDi2,
|
391
373
|
enableMouseEvents = _options4.enableMouseEvents,
|
392
374
|
classNameActiveSlide = _options4.classNameActiveSlide,
|
393
375
|
initialIndex = _options4.initialIndex;
|
@@ -409,12 +391,12 @@ function lory(slider, opts) {
|
|
409
391
|
} else {
|
410
392
|
slides = slice.call(slideContainer.children);
|
411
393
|
|
412
|
-
if (prevCtrl) {
|
413
|
-
prevCtrl.classList.add(
|
394
|
+
if (prevCtrl && !options.rewindPrev) {
|
395
|
+
prevCtrl.classList.add(classNameDisabledPrevCtrl);
|
414
396
|
}
|
415
397
|
|
416
398
|
if (nextCtrl && slides.length === 1 && !options.rewind) {
|
417
|
-
nextCtrl.classList.add(
|
399
|
+
nextCtrl.classList.add(classNameDisabledNextCtrl);
|
418
400
|
}
|
419
401
|
}
|
420
402
|
|
@@ -719,11 +701,11 @@ function lory(slider, opts) {
|
|
719
701
|
}
|
720
702
|
|
721
703
|
/***/ }),
|
722
|
-
/*
|
704
|
+
/* 1 */
|
723
705
|
/***/ (function(module, exports, __webpack_require__) {
|
724
706
|
|
725
707
|
"use strict";
|
726
|
-
|
708
|
+
|
727
709
|
|
728
710
|
Object.defineProperty(exports, "__esModule", {
|
729
711
|
value: true
|
@@ -736,7 +718,6 @@ function detectPrefixes() {
|
|
736
718
|
var transform = void 0;
|
737
719
|
var transition = void 0;
|
738
720
|
var transitionEnd = void 0;
|
739
|
-
var hasTranslate3d = void 0;
|
740
721
|
|
741
722
|
(function () {
|
742
723
|
var el = document.createElement('_');
|
@@ -767,22 +748,19 @@ function detectPrefixes() {
|
|
767
748
|
}
|
768
749
|
|
769
750
|
document.body.insertBefore(el, null);
|
770
|
-
style[transform] = '
|
771
|
-
hasTranslate3d = !!global.getComputedStyle(el).getPropertyValue(transform);
|
751
|
+
style[transform] = 'translateX(0)';
|
772
752
|
document.body.removeChild(el);
|
773
753
|
})();
|
774
754
|
|
775
755
|
return {
|
776
756
|
transform: transform,
|
777
757
|
transition: transition,
|
778
|
-
transitionEnd: transitionEnd
|
779
|
-
hasTranslate3d: hasTranslate3d
|
758
|
+
transitionEnd: transitionEnd
|
780
759
|
};
|
781
760
|
}
|
782
|
-
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
|
783
761
|
|
784
762
|
/***/ }),
|
785
|
-
/*
|
763
|
+
/* 2 */
|
786
764
|
/***/ (function(module, exports, __webpack_require__) {
|
787
765
|
|
788
766
|
"use strict";
|
@@ -810,7 +788,7 @@ function detectSupportsPassive() {
|
|
810
788
|
}
|
811
789
|
|
812
790
|
/***/ }),
|
813
|
-
/*
|
791
|
+
/* 3 */
|
814
792
|
/***/ (function(module, exports, __webpack_require__) {
|
815
793
|
|
816
794
|
"use strict";
|
@@ -821,7 +799,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
821
799
|
});
|
822
800
|
exports.default = dispatchEvent;
|
823
801
|
|
824
|
-
var _customEvent = __webpack_require__(
|
802
|
+
var _customEvent = __webpack_require__(4);
|
825
803
|
|
826
804
|
var _customEvent2 = _interopRequireDefault(_customEvent);
|
827
805
|
|
@@ -845,7 +823,7 @@ function dispatchEvent(target, type, detail) {
|
|
845
823
|
}
|
846
824
|
|
847
825
|
/***/ }),
|
848
|
-
/*
|
826
|
+
/* 4 */
|
849
827
|
/***/ (function(module, exports, __webpack_require__) {
|
850
828
|
|
851
829
|
/* WEBPACK VAR INJECTION */(function(global) {
|
@@ -897,7 +875,34 @@ function CustomEvent (type, params) {
|
|
897
875
|
return e;
|
898
876
|
}
|
899
877
|
|
900
|
-
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(
|
878
|
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
|
879
|
+
|
880
|
+
/***/ }),
|
881
|
+
/* 5 */
|
882
|
+
/***/ (function(module, exports) {
|
883
|
+
|
884
|
+
var g;
|
885
|
+
|
886
|
+
// This works in non-strict mode
|
887
|
+
g = (function() {
|
888
|
+
return this;
|
889
|
+
})();
|
890
|
+
|
891
|
+
try {
|
892
|
+
// This works if eval is allowed (see CSP)
|
893
|
+
g = g || Function("return this")() || (1,eval)("this");
|
894
|
+
} catch(e) {
|
895
|
+
// This works if the window reference is available
|
896
|
+
if(typeof window === "object")
|
897
|
+
g = window;
|
898
|
+
}
|
899
|
+
|
900
|
+
// g can still be undefined, but nothing to do about it...
|
901
|
+
// We return undefined, instead of nothing here, so it's
|
902
|
+
// easier to handle this case. if(!global) { ...}
|
903
|
+
|
904
|
+
module.exports = g;
|
905
|
+
|
901
906
|
|
902
907
|
/***/ }),
|
903
908
|
/* 6 */
|
@@ -1019,7 +1024,7 @@ exports.default = {
|
|
1019
1024
|
"use strict";
|
1020
1025
|
|
1021
1026
|
|
1022
|
-
var _lory = __webpack_require__(
|
1027
|
+
var _lory = __webpack_require__(0);
|
1023
1028
|
|
1024
1029
|
function init($) {
|
1025
1030
|
$.fn.lory = function (options) {
|
@@ -75,33 +75,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
75
75
|
/************************************************************************/
|
76
76
|
/******/ ([
|
77
77
|
/* 0 */
|
78
|
-
/***/ (function(module, exports) {
|
79
|
-
|
80
|
-
var g;
|
81
|
-
|
82
|
-
// This works in non-strict mode
|
83
|
-
g = (function() {
|
84
|
-
return this;
|
85
|
-
})();
|
86
|
-
|
87
|
-
try {
|
88
|
-
// This works if eval is allowed (see CSP)
|
89
|
-
g = g || Function("return this")() || (1,eval)("this");
|
90
|
-
} catch(e) {
|
91
|
-
// This works if the window reference is available
|
92
|
-
if(typeof window === "object")
|
93
|
-
g = window;
|
94
|
-
}
|
95
|
-
|
96
|
-
// g can still be undefined, but nothing to do about it...
|
97
|
-
// We return undefined, instead of nothing here, so it's
|
98
|
-
// easier to handle this case. if(!global) { ...}
|
99
|
-
|
100
|
-
module.exports = g;
|
101
|
-
|
102
|
-
|
103
|
-
/***/ }),
|
104
|
-
/* 1 */
|
105
78
|
/***/ (function(module, exports, __webpack_require__) {
|
106
79
|
|
107
80
|
"use strict";
|
@@ -115,15 +88,15 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
115
88
|
|
116
89
|
exports.lory = lory;
|
117
90
|
|
118
|
-
var _detectPrefixes = __webpack_require__(
|
91
|
+
var _detectPrefixes = __webpack_require__(1);
|
119
92
|
|
120
93
|
var _detectPrefixes2 = _interopRequireDefault(_detectPrefixes);
|
121
94
|
|
122
|
-
var _detectSupportsPassive = __webpack_require__(
|
95
|
+
var _detectSupportsPassive = __webpack_require__(2);
|
123
96
|
|
124
97
|
var _detectSupportsPassive2 = _interopRequireDefault(_detectSupportsPassive);
|
125
98
|
|
126
|
-
var _dispatchEvent = __webpack_require__(
|
99
|
+
var _dispatchEvent = __webpack_require__(3);
|
127
100
|
|
128
101
|
var _dispatchEvent2 = _interopRequireDefault(_dispatchEvent);
|
129
102
|
|
@@ -233,12 +206,7 @@ function lory(slider, opts) {
|
|
233
206
|
if (style) {
|
234
207
|
style[prefixes.transition + 'TimingFunction'] = ease;
|
235
208
|
style[prefixes.transition + 'Duration'] = duration + 'ms';
|
236
|
-
|
237
|
-
if (prefixes.hasTranslate3d) {
|
238
|
-
style[prefixes.transform] = 'translate3d(' + to + 'px, 0, 0)';
|
239
|
-
} else {
|
240
|
-
style[prefixes.transform] = 'translate(' + to + 'px, 0)';
|
241
|
-
}
|
209
|
+
style[prefixes.transform] = 'translateX(' + to + 'px)';
|
242
210
|
}
|
243
211
|
}
|
244
212
|
|
@@ -263,9 +231,14 @@ function lory(slider, opts) {
|
|
263
231
|
slidesToScroll = _options3.slidesToScroll,
|
264
232
|
infinite = _options3.infinite,
|
265
233
|
rewind = _options3.rewind,
|
234
|
+
rewindPrev = _options3.rewindPrev,
|
266
235
|
rewindSpeed = _options3.rewindSpeed,
|
267
236
|
ease = _options3.ease,
|
268
|
-
classNameActiveSlide = _options3.classNameActiveSlide
|
237
|
+
classNameActiveSlide = _options3.classNameActiveSlide,
|
238
|
+
_options3$classNameDi = _options3.classNameDisabledNextCtrl,
|
239
|
+
classNameDisabledNextCtrl = _options3$classNameDi === undefined ? 'disabled' : _options3$classNameDi,
|
240
|
+
_options3$classNameDi2 = _options3.classNameDisabledPrevCtrl,
|
241
|
+
classNameDisabledPrevCtrl = _options3$classNameDi2 === undefined ? 'disabled' : _options3$classNameDi2;
|
269
242
|
|
270
243
|
|
271
244
|
var duration = slideSpeed;
|
@@ -282,10 +255,10 @@ function lory(slider, opts) {
|
|
282
255
|
* Reset control classes
|
283
256
|
*/
|
284
257
|
if (prevCtrl) {
|
285
|
-
prevCtrl.classList.remove(
|
258
|
+
prevCtrl.classList.remove(classNameDisabledPrevCtrl);
|
286
259
|
}
|
287
260
|
if (nextCtrl) {
|
288
|
-
nextCtrl.classList.remove(
|
261
|
+
nextCtrl.classList.remove(classNameDisabledNextCtrl);
|
289
262
|
}
|
290
263
|
|
291
264
|
if (typeof nextIndex !== 'number') {
|
@@ -310,6 +283,11 @@ function lory(slider, opts) {
|
|
310
283
|
nextIndex += infinite;
|
311
284
|
}
|
312
285
|
|
286
|
+
if (rewindPrev && Math.abs(position.x) === 0 && direction === false) {
|
287
|
+
nextIndex = slides.length - 1;
|
288
|
+
duration = rewindSpeed;
|
289
|
+
}
|
290
|
+
|
313
291
|
var nextOffset = Math.min(Math.max(slides[nextIndex].offsetLeft * -1, maxOffset * -1), 0);
|
314
292
|
|
315
293
|
if (rewind && Math.abs(position.x) === maxOffset && direction) {
|
@@ -360,12 +338,12 @@ function lory(slider, opts) {
|
|
360
338
|
* update classes for next and prev arrows
|
361
339
|
* based on user settings
|
362
340
|
*/
|
363
|
-
if (prevCtrl && !infinite && nextIndex === 0) {
|
364
|
-
prevCtrl.classList.add(
|
341
|
+
if (prevCtrl && !infinite && !rewindPrev && nextIndex === 0) {
|
342
|
+
prevCtrl.classList.add(classNameDisabledPrevCtrl);
|
365
343
|
}
|
366
344
|
|
367
345
|
if (nextCtrl && !infinite && !rewind && nextIndex + 1 === slides.length) {
|
368
|
-
nextCtrl.classList.add(
|
346
|
+
nextCtrl.classList.add(classNameDisabledNextCtrl);
|
369
347
|
}
|
370
348
|
|
371
349
|
dispatchSliderEvent('after', 'slide', {
|
@@ -388,6 +366,10 @@ function lory(slider, opts) {
|
|
388
366
|
classNameSlideContainer = _options4.classNameSlideContainer,
|
389
367
|
classNamePrevCtrl = _options4.classNamePrevCtrl,
|
390
368
|
classNameNextCtrl = _options4.classNameNextCtrl,
|
369
|
+
_options4$classNameDi = _options4.classNameDisabledNextCtrl,
|
370
|
+
classNameDisabledNextCtrl = _options4$classNameDi === undefined ? 'disabled' : _options4$classNameDi,
|
371
|
+
_options4$classNameDi2 = _options4.classNameDisabledPrevCtrl,
|
372
|
+
classNameDisabledPrevCtrl = _options4$classNameDi2 === undefined ? 'disabled' : _options4$classNameDi2,
|
391
373
|
enableMouseEvents = _options4.enableMouseEvents,
|
392
374
|
classNameActiveSlide = _options4.classNameActiveSlide,
|
393
375
|
initialIndex = _options4.initialIndex;
|
@@ -409,12 +391,12 @@ function lory(slider, opts) {
|
|
409
391
|
} else {
|
410
392
|
slides = slice.call(slideContainer.children);
|
411
393
|
|
412
|
-
if (prevCtrl) {
|
413
|
-
prevCtrl.classList.add(
|
394
|
+
if (prevCtrl && !options.rewindPrev) {
|
395
|
+
prevCtrl.classList.add(classNameDisabledPrevCtrl);
|
414
396
|
}
|
415
397
|
|
416
398
|
if (nextCtrl && slides.length === 1 && !options.rewind) {
|
417
|
-
nextCtrl.classList.add(
|
399
|
+
nextCtrl.classList.add(classNameDisabledNextCtrl);
|
418
400
|
}
|
419
401
|
}
|
420
402
|
|
@@ -719,11 +701,11 @@ function lory(slider, opts) {
|
|
719
701
|
}
|
720
702
|
|
721
703
|
/***/ }),
|
722
|
-
/*
|
704
|
+
/* 1 */
|
723
705
|
/***/ (function(module, exports, __webpack_require__) {
|
724
706
|
|
725
707
|
"use strict";
|
726
|
-
|
708
|
+
|
727
709
|
|
728
710
|
Object.defineProperty(exports, "__esModule", {
|
729
711
|
value: true
|
@@ -736,7 +718,6 @@ function detectPrefixes() {
|
|
736
718
|
var transform = void 0;
|
737
719
|
var transition = void 0;
|
738
720
|
var transitionEnd = void 0;
|
739
|
-
var hasTranslate3d = void 0;
|
740
721
|
|
741
722
|
(function () {
|
742
723
|
var el = document.createElement('_');
|
@@ -767,22 +748,19 @@ function detectPrefixes() {
|
|
767
748
|
}
|
768
749
|
|
769
750
|
document.body.insertBefore(el, null);
|
770
|
-
style[transform] = '
|
771
|
-
hasTranslate3d = !!global.getComputedStyle(el).getPropertyValue(transform);
|
751
|
+
style[transform] = 'translateX(0)';
|
772
752
|
document.body.removeChild(el);
|
773
753
|
})();
|
774
754
|
|
775
755
|
return {
|
776
756
|
transform: transform,
|
777
757
|
transition: transition,
|
778
|
-
transitionEnd: transitionEnd
|
779
|
-
hasTranslate3d: hasTranslate3d
|
758
|
+
transitionEnd: transitionEnd
|
780
759
|
};
|
781
760
|
}
|
782
|
-
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
|
783
761
|
|
784
762
|
/***/ }),
|
785
|
-
/*
|
763
|
+
/* 2 */
|
786
764
|
/***/ (function(module, exports, __webpack_require__) {
|
787
765
|
|
788
766
|
"use strict";
|
@@ -810,7 +788,7 @@ function detectSupportsPassive() {
|
|
810
788
|
}
|
811
789
|
|
812
790
|
/***/ }),
|
813
|
-
/*
|
791
|
+
/* 3 */
|
814
792
|
/***/ (function(module, exports, __webpack_require__) {
|
815
793
|
|
816
794
|
"use strict";
|
@@ -821,7 +799,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
821
799
|
});
|
822
800
|
exports.default = dispatchEvent;
|
823
801
|
|
824
|
-
var _customEvent = __webpack_require__(
|
802
|
+
var _customEvent = __webpack_require__(4);
|
825
803
|
|
826
804
|
var _customEvent2 = _interopRequireDefault(_customEvent);
|
827
805
|
|
@@ -845,7 +823,7 @@ function dispatchEvent(target, type, detail) {
|
|
845
823
|
}
|
846
824
|
|
847
825
|
/***/ }),
|
848
|
-
/*
|
826
|
+
/* 4 */
|
849
827
|
/***/ (function(module, exports, __webpack_require__) {
|
850
828
|
|
851
829
|
/* WEBPACK VAR INJECTION */(function(global) {
|
@@ -897,7 +875,34 @@ function CustomEvent (type, params) {
|
|
897
875
|
return e;
|
898
876
|
}
|
899
877
|
|
900
|
-
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(
|
878
|
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
|
879
|
+
|
880
|
+
/***/ }),
|
881
|
+
/* 5 */
|
882
|
+
/***/ (function(module, exports) {
|
883
|
+
|
884
|
+
var g;
|
885
|
+
|
886
|
+
// This works in non-strict mode
|
887
|
+
g = (function() {
|
888
|
+
return this;
|
889
|
+
})();
|
890
|
+
|
891
|
+
try {
|
892
|
+
// This works if eval is allowed (see CSP)
|
893
|
+
g = g || Function("return this")() || (1,eval)("this");
|
894
|
+
} catch(e) {
|
895
|
+
// This works if the window reference is available
|
896
|
+
if(typeof window === "object")
|
897
|
+
g = window;
|
898
|
+
}
|
899
|
+
|
900
|
+
// g can still be undefined, but nothing to do about it...
|
901
|
+
// We return undefined, instead of nothing here, so it's
|
902
|
+
// easier to handle this case. if(!global) { ...}
|
903
|
+
|
904
|
+
module.exports = g;
|
905
|
+
|
901
906
|
|
902
907
|
/***/ }),
|
903
908
|
/* 6 */
|
@@ -1015,7 +1020,7 @@ exports.default = {
|
|
1015
1020
|
/* 7 */
|
1016
1021
|
/***/ (function(module, exports, __webpack_require__) {
|
1017
1022
|
|
1018
|
-
module.exports = __webpack_require__(
|
1023
|
+
module.exports = __webpack_require__(0);
|
1019
1024
|
|
1020
1025
|
|
1021
1026
|
/***/ })
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lory-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tanvir hasan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|