alongslide 0.9.11 → 0.9.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/alongslide.gemspec +1 -1
- data/vendor/assets/javascripts/skrollr.js +6 -12
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81bedfbe6a4be53c4c3b77a9fc68bdb443526dd1
|
4
|
+
data.tar.gz: 3a67268098454645e2b37e92d7c6ef237193b170
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c1e5b7b90b7a61110c923a010083fef9b74b25e0f1e52576aa965af4aafed498ba64464c36b1e811c5f0903a3abc5f9e3804b1ee3a0383b8ca0a63d89297c3f
|
7
|
+
data.tar.gz: b13491a63c7c6368d17eeb733d52f4f437bc2287c2f50843eb169e4c78a4b796f3059f8f114d2dea30c1d7ad16394838ba49b5641cb214387fe2ce13269fbb0c
|
data/alongslide.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'alongslide'
|
3
|
-
gem.version = '0.9.
|
3
|
+
gem.version = '0.9.12'
|
4
4
|
|
5
5
|
gem.summary = "Create dynamic web layouts with an extended Markdown syntax"
|
6
6
|
gem.description = "Create dynamic web layouts with an extended Markdown syntax"
|
@@ -722,7 +722,7 @@
|
|
722
722
|
var deltaTime;
|
723
723
|
|
724
724
|
_addEvent(documentElement, [EVENT_TOUCHSTART, EVENT_TOUCHMOVE, EVENT_TOUCHCANCEL, EVENT_TOUCHEND].join(' '), function(e) {
|
725
|
-
|
725
|
+
e.preventDefault();
|
726
726
|
|
727
727
|
var touch = e.changedTouches[0];
|
728
728
|
|
@@ -750,18 +750,12 @@
|
|
750
750
|
deltaX = currentTouchX - lastTouchX;
|
751
751
|
deltaTime = currentTouchTime - lastTouchTime;
|
752
752
|
|
753
|
-
|
754
|
-
|
755
|
-
return;
|
756
|
-
} else {
|
757
|
-
var position = _mobileOffset - (!_scrollHorizontal ? deltaY : deltaX);
|
758
|
-
_instance.setScrollPosition(position, true);
|
759
|
-
|
760
|
-
lastTouchY = currentTouchY;
|
761
|
-
lastTouchX = currentTouchX;
|
762
|
-
lastTouchTime = currentTouchTime;
|
763
|
-
}
|
753
|
+
var position = _mobileOffset - (!_scrollHorizontal ? deltaY : deltaX);
|
754
|
+
_instance.setScrollPosition(position, true);
|
764
755
|
|
756
|
+
lastTouchY = currentTouchY;
|
757
|
+
lastTouchX = currentTouchX;
|
758
|
+
lastTouchTime = currentTouchTime;
|
765
759
|
break;
|
766
760
|
default:
|
767
761
|
case EVENT_TOUCHCANCEL:
|