lory-rails 0.1.1 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 423102b3a8fec9793a9b5071ff60e76eece628f9
4
- data.tar.gz: a9105edc9d1b59cc05d43074bf6aa00639e9aecf
3
+ metadata.gz: 69bbe5054ec29ffeec75907c3cefb7aeadac0627
4
+ data.tar.gz: 251653dafbba958937eec411d68f05e20d690959
5
5
  SHA512:
6
- metadata.gz: bd368c60d553022a131ffe2b1d4b0232ba7333e1b8a2d109c5da71e0175d83d5c95fb7283217746088200835e91bdc8e25b4787ecff85f9126a765deaab94eb3
7
- data.tar.gz: 56cf6defc2aa1f93dda983c29847eb0b34c87d5b5718284d17a45198db71b91d49c778e3ea2a91cb44fa014bb2b805d403b76959cf125cd1eb041e6f8898b959
6
+ metadata.gz: a1d8d438ac1d622fd58dec873362c41aa22eb0d9ff8320d5f57531e78eccc88f8d43952f13d88ae0386ea83df24a5d5b623961c61b2dddd586a3be22f36da7a1
7
+ data.tar.gz: 3cc0cf367f6ec440f5afcf6f04ef0fe621e1c68d656ce9d7c3739993fb278faa8ad7b49a664311c478f64e731beaca0849e7c34ba113aa5ded32b14c83f7f7f2
data/VERSIONS.md CHANGED
@@ -4,3 +4,4 @@
4
4
  |--------|-----------|
5
5
  | 0.1.0 | 2.4.0
6
6
  | 0.1.1 | 2.4.1
7
+ | 0.1.2 | 2.4.2
@@ -1,5 +1,5 @@
1
1
  module Lory
2
2
  module Rails
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -7,7 +7,7 @@
7
7
  var a = factory();
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(typeof self !== 'undefined' ? self : this, function() {
10
+ })(this, function() {
11
11
  return /******/ (function(modules) { // webpackBootstrap
12
12
  /******/ // The module cache
13
13
  /******/ var installedModules = {};
@@ -43,6 +43,9 @@ return /******/ (function(modules) { // webpackBootstrap
43
43
  /******/ // expose the module cache
44
44
  /******/ __webpack_require__.c = installedModules;
45
45
  /******/
46
+ /******/ // identity function for calling harmony imports with the correct context
47
+ /******/ __webpack_require__.i = function(value) { return value; };
48
+ /******/
46
49
  /******/ // define getter function for harmony exports
47
50
  /******/ __webpack_require__.d = function(exports, name, getter) {
48
51
  /******/ if(!__webpack_require__.o(exports, name)) {
@@ -70,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
70
73
  /******/ __webpack_require__.p = "";
71
74
  /******/
72
75
  /******/ // Load entry module and return exports
73
- /******/ return __webpack_require__(__webpack_require__.s = 8);
76
+ /******/ return __webpack_require__(__webpack_require__.s = 7);
74
77
  /******/ })
75
78
  /************************************************************************/
76
79
  /******/ ([
@@ -115,19 +118,19 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
115
118
 
116
119
  exports.lory = lory;
117
120
 
118
- var _detectPrefixes = __webpack_require__(2);
121
+ var _detectPrefixes = __webpack_require__(3);
119
122
 
120
123
  var _detectPrefixes2 = _interopRequireDefault(_detectPrefixes);
121
124
 
122
- var _detectSupportsPassive = __webpack_require__(3);
125
+ var _detectSupportsPassive = __webpack_require__(4);
123
126
 
124
127
  var _detectSupportsPassive2 = _interopRequireDefault(_detectSupportsPassive);
125
128
 
126
- var _dispatchEvent = __webpack_require__(4);
129
+ var _dispatchEvent = __webpack_require__(5);
127
130
 
128
131
  var _dispatchEvent2 = _interopRequireDefault(_dispatchEvent);
129
132
 
130
- var _defaults = __webpack_require__(6);
133
+ var _defaults = __webpack_require__(2);
131
134
 
132
135
  var _defaults2 = _interopRequireDefault(_defaults);
133
136
 
@@ -706,6 +709,118 @@ function lory(slider, opts) {
706
709
  /* 2 */
707
710
  /***/ (function(module, exports, __webpack_require__) {
708
711
 
712
+ "use strict";
713
+
714
+
715
+ Object.defineProperty(exports, "__esModule", {
716
+ value: true
717
+ });
718
+ exports.default = {
719
+ /**
720
+ * slides scrolled at once
721
+ * @slidesToScroll {Number}
722
+ */
723
+ slidesToScroll: 1,
724
+
725
+ /**
726
+ * time in milliseconds for the animation of a valid slide attempt
727
+ * @slideSpeed {Number}
728
+ */
729
+ slideSpeed: 300,
730
+
731
+ /**
732
+ * time in milliseconds for the animation of the rewind after the last slide
733
+ * @rewindSpeed {Number}
734
+ */
735
+ rewindSpeed: 600,
736
+
737
+ /**
738
+ * time for the snapBack of the slider if the slide attempt was not valid
739
+ * @snapBackSpeed {Number}
740
+ */
741
+ snapBackSpeed: 200,
742
+
743
+ /**
744
+ * Basic easing functions: https://developer.mozilla.org/de/docs/Web/CSS/transition-timing-function
745
+ * cubic bezier easing functions: http://easings.net/de
746
+ * @ease {String}
747
+ */
748
+ ease: 'ease',
749
+
750
+ /**
751
+ * if slider reached the last slide, with next click the slider goes back to the startindex.
752
+ * use infinite or rewind, not both
753
+ * @rewind {Boolean}
754
+ */
755
+ rewind: false,
756
+
757
+ /**
758
+ * number of visible slides or false
759
+ * use infinite or rewind, not both
760
+ * @infinite {number}
761
+ */
762
+ infinite: false,
763
+
764
+ /**
765
+ * the slide index to show when the slider is initialized.
766
+ * @initialIndex {number}
767
+ */
768
+ initialIndex: 0,
769
+
770
+ /**
771
+ * class name for slider frame
772
+ * @classNameFrame {string}
773
+ */
774
+ classNameFrame: 'js_frame',
775
+
776
+ /**
777
+ * class name for slides container
778
+ * @classNameSlideContainer {string}
779
+ */
780
+ classNameSlideContainer: 'js_slides',
781
+
782
+ /**
783
+ * class name for slider prev control
784
+ * @classNamePrevCtrl {string}
785
+ */
786
+ classNamePrevCtrl: 'js_prev',
787
+
788
+ /**
789
+ * class name for slider next control
790
+ * @classNameNextCtrl {string}
791
+ */
792
+ classNameNextCtrl: 'js_next',
793
+
794
+ /**
795
+ * class name for current active slide
796
+ * if emptyString then no class is set
797
+ * @classNameActiveSlide {string}
798
+ */
799
+ classNameActiveSlide: 'active',
800
+
801
+ /**
802
+ * enables mouse events for swiping on desktop devices
803
+ * @enableMouseEvents {boolean}
804
+ */
805
+ enableMouseEvents: false,
806
+
807
+ /**
808
+ * window instance
809
+ * @window {object}
810
+ */
811
+ window: typeof window !== 'undefined' ? window : null,
812
+
813
+ /**
814
+ * If false, slides lory to the first slide on window resize.
815
+ * @rewindOnResize {boolean}
816
+ */
817
+ rewindOnResize: true
818
+ };
819
+
820
+ /***/ }),
821
+ /* 3 */
822
+ /***/ (function(module, exports, __webpack_require__) {
823
+
709
824
  "use strict";
710
825
  /* WEBPACK VAR INJECTION */(function(global) {
711
826
 
@@ -766,7 +881,7 @@ function detectPrefixes() {
766
881
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
767
882
 
768
883
  /***/ }),
769
- /* 3 */
884
+ /* 4 */
770
885
  /***/ (function(module, exports, __webpack_require__) {
771
886
 
772
887
  "use strict";
@@ -794,7 +909,7 @@ function detectSupportsPassive() {
794
909
  }
795
910
 
796
911
  /***/ }),
797
- /* 4 */
912
+ /* 5 */
798
913
  /***/ (function(module, exports, __webpack_require__) {
799
914
 
800
915
  "use strict";
@@ -805,7 +920,7 @@ Object.defineProperty(exports, "__esModule", {
805
920
  });
806
921
  exports.default = dispatchEvent;
807
922
 
808
- var _customEvent = __webpack_require__(5);
923
+ var _customEvent = __webpack_require__(6);
809
924
 
810
925
  var _customEvent2 = _interopRequireDefault(_customEvent);
811
926
 
@@ -829,7 +944,7 @@ function dispatchEvent(target, type, detail) {
829
944
  }
830
945
 
831
946
  /***/ }),
832
- /* 5 */
947
+ /* 6 */
833
948
  /***/ (function(module, exports, __webpack_require__) {
834
949
 
835
950
  /* WEBPACK VAR INJECTION */(function(global) {
@@ -884,120 +999,7 @@ function CustomEvent (type, params) {
884
999
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
885
1000
 
886
1001
  /***/ }),
887
- /* 6 */
888
- /***/ (function(module, exports, __webpack_require__) {
889
-
890
- "use strict";
891
-
892
-
893
- Object.defineProperty(exports, "__esModule", {
894
- value: true
895
- });
896
- exports.default = {
897
- /**
898
- * slides scrolled at once
899
- * @slidesToScroll {Number}
900
- */
901
- slidesToScroll: 1,
902
-
903
- /**
904
- * time in milliseconds for the animation of a valid slide attempt
905
- * @slideSpeed {Number}
906
- */
907
- slideSpeed: 300,
908
-
909
- /**
910
- * time in milliseconds for the animation of the rewind after the last slide
911
- * @rewindSpeed {Number}
912
- */
913
- rewindSpeed: 600,
914
-
915
- /**
916
- * time for the snapBack of the slider if the slide attempt was not valid
917
- * @snapBackSpeed {Number}
918
- */
919
- snapBackSpeed: 200,
920
-
921
- /**
922
- * Basic easing functions: https://developer.mozilla.org/de/docs/Web/CSS/transition-timing-function
923
- * cubic bezier easing functions: http://easings.net/de
924
- * @ease {String}
925
- */
926
- ease: 'ease',
927
-
928
- /**
929
- * if slider reached the last slide, with next click the slider goes back to the startindex.
930
- * use infinite or rewind, not both
931
- * @rewind {Boolean}
932
- */
933
- rewind: false,
934
-
935
- /**
936
- * number of visible slides or false
937
- * use infinite or rewind, not both
938
- * @infinite {number}
939
- */
940
- infinite: false,
941
-
942
- /**
943
- * the slide index to show when the slider is initialized.
944
- * @initialIndex {number}
945
- */
946
- initialIndex: 0,
947
-
948
- /**
949
- * class name for slider frame
950
- * @classNameFrame {string}
951
- */
952
- classNameFrame: 'js_frame',
953
-
954
- /**
955
- * class name for slides container
956
- * @classNameSlideContainer {string}
957
- */
958
- classNameSlideContainer: 'js_slides',
959
-
960
- /**
961
- * class name for slider prev control
962
- * @classNamePrevCtrl {string}
963
- */
964
- classNamePrevCtrl: 'js_prev',
965
-
966
- /**
967
- * class name for slider next control
968
- * @classNameNextCtrl {string}
969
- */
970
- classNameNextCtrl: 'js_next',
971
-
972
- /**
973
- * class name for current active slide
974
- * if emptyString then no class is set
975
- * @classNameActiveSlide {string}
976
- */
977
- classNameActiveSlide: 'active',
978
-
979
- /**
980
- * enables mouse events for swiping on desktop devices
981
- * @enableMouseEvents {boolean}
982
- */
983
- enableMouseEvents: false,
984
-
985
- /**
986
- * window instance
987
- * @window {object}
988
- */
989
- window: window,
990
-
991
- /**
992
- * If false, slides lory to the first slide on window resize.
993
- * @rewindOnResize {boolean}
994
- */
995
- rewindOnResize: true
996
- };
997
-
998
- /***/ }),
999
- /* 7 */,
1000
- /* 8 */
1002
+ /* 7 */
1001
1003
  /***/ (function(module, exports, __webpack_require__) {
1002
1004
 
1003
1005
  "use strict";
@@ -7,7 +7,7 @@
7
7
  var a = factory();
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(typeof self !== 'undefined' ? self : this, function() {
10
+ })(this, function() {
11
11
  return /******/ (function(modules) { // webpackBootstrap
12
12
  /******/ // The module cache
13
13
  /******/ var installedModules = {};
@@ -43,6 +43,9 @@ return /******/ (function(modules) { // webpackBootstrap
43
43
  /******/ // expose the module cache
44
44
  /******/ __webpack_require__.c = installedModules;
45
45
  /******/
46
+ /******/ // identity function for calling harmony imports with the correct context
47
+ /******/ __webpack_require__.i = function(value) { return value; };
48
+ /******/
46
49
  /******/ // define getter function for harmony exports
47
50
  /******/ __webpack_require__.d = function(exports, name, getter) {
48
51
  /******/ if(!__webpack_require__.o(exports, name)) {
@@ -70,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
70
73
  /******/ __webpack_require__.p = "";
71
74
  /******/
72
75
  /******/ // Load entry module and return exports
73
- /******/ return __webpack_require__(__webpack_require__.s = 7);
76
+ /******/ return __webpack_require__(__webpack_require__.s = 8);
74
77
  /******/ })
75
78
  /************************************************************************/
76
79
  /******/ ([
@@ -115,19 +118,19 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
115
118
 
116
119
  exports.lory = lory;
117
120
 
118
- var _detectPrefixes = __webpack_require__(2);
121
+ var _detectPrefixes = __webpack_require__(3);
119
122
 
120
123
  var _detectPrefixes2 = _interopRequireDefault(_detectPrefixes);
121
124
 
122
- var _detectSupportsPassive = __webpack_require__(3);
125
+ var _detectSupportsPassive = __webpack_require__(4);
123
126
 
124
127
  var _detectSupportsPassive2 = _interopRequireDefault(_detectSupportsPassive);
125
128
 
126
- var _dispatchEvent = __webpack_require__(4);
129
+ var _dispatchEvent = __webpack_require__(5);
127
130
 
128
131
  var _dispatchEvent2 = _interopRequireDefault(_dispatchEvent);
129
132
 
130
- var _defaults = __webpack_require__(6);
133
+ var _defaults = __webpack_require__(2);
131
134
 
132
135
  var _defaults2 = _interopRequireDefault(_defaults);
133
136
 
@@ -706,6 +709,118 @@ function lory(slider, opts) {
706
709
  /* 2 */
707
710
  /***/ (function(module, exports, __webpack_require__) {
708
711
 
712
+ "use strict";
713
+
714
+
715
+ Object.defineProperty(exports, "__esModule", {
716
+ value: true
717
+ });
718
+ exports.default = {
719
+ /**
720
+ * slides scrolled at once
721
+ * @slidesToScroll {Number}
722
+ */
723
+ slidesToScroll: 1,
724
+
725
+ /**
726
+ * time in milliseconds for the animation of a valid slide attempt
727
+ * @slideSpeed {Number}
728
+ */
729
+ slideSpeed: 300,
730
+
731
+ /**
732
+ * time in milliseconds for the animation of the rewind after the last slide
733
+ * @rewindSpeed {Number}
734
+ */
735
+ rewindSpeed: 600,
736
+
737
+ /**
738
+ * time for the snapBack of the slider if the slide attempt was not valid
739
+ * @snapBackSpeed {Number}
740
+ */
741
+ snapBackSpeed: 200,
742
+
743
+ /**
744
+ * Basic easing functions: https://developer.mozilla.org/de/docs/Web/CSS/transition-timing-function
745
+ * cubic bezier easing functions: http://easings.net/de
746
+ * @ease {String}
747
+ */
748
+ ease: 'ease',
749
+
750
+ /**
751
+ * if slider reached the last slide, with next click the slider goes back to the startindex.
752
+ * use infinite or rewind, not both
753
+ * @rewind {Boolean}
754
+ */
755
+ rewind: false,
756
+
757
+ /**
758
+ * number of visible slides or false
759
+ * use infinite or rewind, not both
760
+ * @infinite {number}
761
+ */
762
+ infinite: false,
763
+
764
+ /**
765
+ * the slide index to show when the slider is initialized.
766
+ * @initialIndex {number}
767
+ */
768
+ initialIndex: 0,
769
+
770
+ /**
771
+ * class name for slider frame
772
+ * @classNameFrame {string}
773
+ */
774
+ classNameFrame: 'js_frame',
775
+
776
+ /**
777
+ * class name for slides container
778
+ * @classNameSlideContainer {string}
779
+ */
780
+ classNameSlideContainer: 'js_slides',
781
+
782
+ /**
783
+ * class name for slider prev control
784
+ * @classNamePrevCtrl {string}
785
+ */
786
+ classNamePrevCtrl: 'js_prev',
787
+
788
+ /**
789
+ * class name for slider next control
790
+ * @classNameNextCtrl {string}
791
+ */
792
+ classNameNextCtrl: 'js_next',
793
+
794
+ /**
795
+ * class name for current active slide
796
+ * if emptyString then no class is set
797
+ * @classNameActiveSlide {string}
798
+ */
799
+ classNameActiveSlide: 'active',
800
+
801
+ /**
802
+ * enables mouse events for swiping on desktop devices
803
+ * @enableMouseEvents {boolean}
804
+ */
805
+ enableMouseEvents: false,
806
+
807
+ /**
808
+ * window instance
809
+ * @window {object}
810
+ */
811
+ window: typeof window !== 'undefined' ? window : null,
812
+
813
+ /**
814
+ * If false, slides lory to the first slide on window resize.
815
+ * @rewindOnResize {boolean}
816
+ */
817
+ rewindOnResize: true
818
+ };
819
+
820
+ /***/ }),
821
+ /* 3 */
822
+ /***/ (function(module, exports, __webpack_require__) {
823
+
709
824
  "use strict";
710
825
  /* WEBPACK VAR INJECTION */(function(global) {
711
826
 
@@ -766,7 +881,7 @@ function detectPrefixes() {
766
881
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
767
882
 
768
883
  /***/ }),
769
- /* 3 */
884
+ /* 4 */
770
885
  /***/ (function(module, exports, __webpack_require__) {
771
886
 
772
887
  "use strict";
@@ -794,7 +909,7 @@ function detectSupportsPassive() {
794
909
  }
795
910
 
796
911
  /***/ }),
797
- /* 4 */
912
+ /* 5 */
798
913
  /***/ (function(module, exports, __webpack_require__) {
799
914
 
800
915
  "use strict";
@@ -805,7 +920,7 @@ Object.defineProperty(exports, "__esModule", {
805
920
  });
806
921
  exports.default = dispatchEvent;
807
922
 
808
- var _customEvent = __webpack_require__(5);
923
+ var _customEvent = __webpack_require__(6);
809
924
 
810
925
  var _customEvent2 = _interopRequireDefault(_customEvent);
811
926
 
@@ -829,7 +944,7 @@ function dispatchEvent(target, type, detail) {
829
944
  }
830
945
 
831
946
  /***/ }),
832
- /* 5 */
947
+ /* 6 */
833
948
  /***/ (function(module, exports, __webpack_require__) {
834
949
 
835
950
  /* WEBPACK VAR INJECTION */(function(global) {
@@ -884,119 +999,8 @@ function CustomEvent (type, params) {
884
999
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))
885
1000
 
886
1001
  /***/ }),
887
- /* 6 */
888
- /***/ (function(module, exports, __webpack_require__) {
889
-
890
- "use strict";
891
-
892
-
893
- Object.defineProperty(exports, "__esModule", {
894
- value: true
895
- });
896
- exports.default = {
897
- /**
898
- * slides scrolled at once
899
- * @slidesToScroll {Number}
900
- */
901
- slidesToScroll: 1,
902
-
903
- /**
904
- * time in milliseconds for the animation of a valid slide attempt
905
- * @slideSpeed {Number}
906
- */
907
- slideSpeed: 300,
908
-
909
- /**
910
- * time in milliseconds for the animation of the rewind after the last slide
911
- * @rewindSpeed {Number}
912
- */
913
- rewindSpeed: 600,
914
-
915
- /**
916
- * time for the snapBack of the slider if the slide attempt was not valid
917
- * @snapBackSpeed {Number}
918
- */
919
- snapBackSpeed: 200,
920
-
921
- /**
922
- * Basic easing functions: https://developer.mozilla.org/de/docs/Web/CSS/transition-timing-function
923
- * cubic bezier easing functions: http://easings.net/de
924
- * @ease {String}
925
- */
926
- ease: 'ease',
927
-
928
- /**
929
- * if slider reached the last slide, with next click the slider goes back to the startindex.
930
- * use infinite or rewind, not both
931
- * @rewind {Boolean}
932
- */
933
- rewind: false,
934
-
935
- /**
936
- * number of visible slides or false
937
- * use infinite or rewind, not both
938
- * @infinite {number}
939
- */
940
- infinite: false,
941
-
942
- /**
943
- * the slide index to show when the slider is initialized.
944
- * @initialIndex {number}
945
- */
946
- initialIndex: 0,
947
-
948
- /**
949
- * class name for slider frame
950
- * @classNameFrame {string}
951
- */
952
- classNameFrame: 'js_frame',
953
-
954
- /**
955
- * class name for slides container
956
- * @classNameSlideContainer {string}
957
- */
958
- classNameSlideContainer: 'js_slides',
959
-
960
- /**
961
- * class name for slider prev control
962
- * @classNamePrevCtrl {string}
963
- */
964
- classNamePrevCtrl: 'js_prev',
965
-
966
- /**
967
- * class name for slider next control
968
- * @classNameNextCtrl {string}
969
- */
970
- classNameNextCtrl: 'js_next',
971
-
972
- /**
973
- * class name for current active slide
974
- * if emptyString then no class is set
975
- * @classNameActiveSlide {string}
976
- */
977
- classNameActiveSlide: 'active',
978
-
979
- /**
980
- * enables mouse events for swiping on desktop devices
981
- * @enableMouseEvents {boolean}
982
- */
983
- enableMouseEvents: false,
984
-
985
- /**
986
- * window instance
987
- * @window {object}
988
- */
989
- window: window,
990
-
991
- /**
992
- * If false, slides lory to the first slide on window resize.
993
- * @rewindOnResize {boolean}
994
- */
995
- rewindOnResize: true
996
- };
997
-
998
- /***/ }),
999
- /* 7 */
1002
+ /* 7 */,
1003
+ /* 8 */
1000
1004
  /***/ (function(module, exports, __webpack_require__) {
1001
1005
 
1002
1006
  module.exports = __webpack_require__(1);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lory-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - tanvir hasan