tramway-core 1.7.3 → 1.7.4
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8b353c62d65a678b910042bcd08daaaae843d70952726dbb6a534a2705fe68c
|
4
|
+
data.tar.gz: 9fe906da35ef88465e63885f63a67214b638523f5ed9e754fc33d97649d067b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 972d0805ce45e9b27a4ab5f988f1b726b1deba53061a2b38b24e9d0ed05d536d7effc2be8f1420c9a374f519c3a8479828d0a85c6f473476a7fd5bba32eb8863
|
7
|
+
data.tar.gz: 7fd9a173da1c15b3759abe8702c2bcda0eafdbbd24467f23016b27c93b1a8c4500928276138af597e793ce627cf4b4349f449cb470be93adc0bfdbde885888a9
|
@@ -12,4 +12,11 @@ $(document).ready ->
|
|
12
12
|
})
|
13
13
|
|
14
14
|
$('.link').click ->
|
15
|
-
|
15
|
+
href = $(this).data('href')
|
16
|
+
if href
|
17
|
+
location.href = href
|
18
|
+
else
|
19
|
+
anchor = $(this).data('anchor')
|
20
|
+
console.log(anchor)
|
21
|
+
$(window).scrollTop $(anchor).offset().top
|
22
|
+
|
data/lib/tramway/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: reform-rails
|