turbolinks 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/javascripts/turbolinks.js.coffee +2 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa1a853f7bfa398507ab56f01f6f60e701e5d610
|
4
|
+
data.tar.gz: 1b905b7d3b6d6d536766371fecada3d7c8e033e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e41529e84e22f5c3ca8bcf57587888efb44b670bd28e1c1cb1712e8c46fe4dc4576b0caf7287ebcea260970885d02dbb76fc3c2930785d6dcd845f21ad08f2b
|
7
|
+
data.tar.gz: 734e50ff840b75516f8645985e20c47419a74a3ec378a3d08396935eac562b3afebba6d7680d14a3ecf3195ad474b433e26ae7d40caf82c4507c7d77ed705e92
|
@@ -137,7 +137,8 @@ processResponse = ->
|
|
137
137
|
xhr.getResponseHeader('Content-Type').match /^(?:text\/html|application\/xhtml\+xml|application\/xml)(?:;|$)/
|
138
138
|
|
139
139
|
extractTrackAssets = (doc) ->
|
140
|
-
|
140
|
+
for node in doc.head.childNodes when node.getAttribute?('data-turbolinks-track')?
|
141
|
+
node.getAttribute('src') or node.getAttribute('href')
|
141
142
|
|
142
143
|
assetsChanged = (doc) ->
|
143
144
|
loadedAssets ||= extractTrackAssets document
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turbolinks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-rails
|
@@ -42,7 +42,8 @@ files:
|
|
42
42
|
- test/other.html
|
43
43
|
- test/reload.html
|
44
44
|
homepage:
|
45
|
-
licenses:
|
45
|
+
licenses:
|
46
|
+
- MIT
|
46
47
|
metadata: {}
|
47
48
|
post_install_message:
|
48
49
|
rdoc_options: []
|
@@ -60,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
61
|
version: '0'
|
61
62
|
requirements: []
|
62
63
|
rubyforge_project:
|
63
|
-
rubygems_version: 2.0.
|
64
|
+
rubygems_version: 2.0.5
|
64
65
|
signing_key:
|
65
66
|
specification_version: 4
|
66
67
|
summary: Turbolinks makes following links in your web application faster (use with
|