skrollr-rails 0.6.26 → 0.6.27
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ece143bcbb7e53716091bb2c3aa5e4106c862faa
|
4
|
+
data.tar.gz: c9304911e110bb764a56ea44fd6114cf95afe937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 316f64c652cdb2174257732d64c68bde2a04a2a672e2339745fbff32396f97178bd5077bd4984581509e91b5bb3354fd326c56a04e076208589c1ffea88a62a5
|
7
|
+
data.tar.gz: 823ab0805ecca0ab882c16fb3aa3ef7ca06837bb3211c4c0ea0df250b7bb84f650b1a81ddfe98b1d5beba15751115faefdcdce542cb5bf8e417e50de587de7ce
|
@@ -19,7 +19,7 @@
|
|
19
19
|
init: function(options) {
|
20
20
|
return _instance || new Skrollr(options);
|
21
21
|
},
|
22
|
-
VERSION: '0.6.
|
22
|
+
VERSION: '0.6.27'
|
23
23
|
};
|
24
24
|
|
25
25
|
//Minify optimization.
|
@@ -1757,9 +1757,9 @@
|
|
1757
1757
|
//Animation frame id returned by RequestAnimationFrame (or timeout when RAF is not supported).
|
1758
1758
|
var _animFrame;
|
1759
1759
|
|
1760
|
-
//Expose skrollr as either a global variable or a require.js module
|
1760
|
+
//Expose skrollr as either a global variable or a require.js module.
|
1761
1761
|
if(typeof define === 'function' && define.amd) {
|
1762
|
-
define(
|
1762
|
+
define([], function () {
|
1763
1763
|
return skrollr;
|
1764
1764
|
});
|
1765
1765
|
} else if (typeof module !== 'undefined' && module.exports) {
|
@@ -134,9 +134,13 @@
|
|
134
134
|
if(window.location.hash && document.querySelector) {
|
135
135
|
var link = document.querySelector('a[href="' + window.location.hash + '"]');
|
136
136
|
|
137
|
-
if(link) {
|
138
|
-
|
137
|
+
if(!link) {
|
138
|
+
// No link found on page, so we create one and then activate it
|
139
|
+
link = document.createElement('a');
|
140
|
+
link.href = window.location.hash;
|
139
141
|
}
|
142
|
+
|
143
|
+
handleLink(link, true);
|
140
144
|
}
|
141
145
|
};
|
142
146
|
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skrollr-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Reed
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 3.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.1.0
|
27
27
|
description: Integrates the skrollr javascript library with the Rails asset pipeline
|
@@ -31,7 +31,7 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
-
- .gitignore
|
34
|
+
- ".gitignore"
|
35
35
|
- Gemfile
|
36
36
|
- LICENSE.txt
|
37
37
|
- README.md
|
@@ -53,17 +53,17 @@ require_paths:
|
|
53
53
|
- lib
|
54
54
|
required_ruby_version: !ruby/object:Gem::Requirement
|
55
55
|
requirements:
|
56
|
-
- -
|
56
|
+
- - ">="
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '0'
|
59
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- -
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '0'
|
64
64
|
requirements: []
|
65
65
|
rubyforge_project:
|
66
|
-
rubygems_version: 2.
|
66
|
+
rubygems_version: 2.4.5
|
67
67
|
signing_key:
|
68
68
|
specification_version: 4
|
69
69
|
summary: Skrollr is a stand-alone parallax scrolling library for mobile and desktop. This
|