turbograft 0.1.8 → 0.1.9
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/turbograft/turbolinks.coffee +1 -0
- data/lib/turbograft/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 339420a1b56e444a79742242d2869ae2bba8247f
|
4
|
+
data.tar.gz: 6e0deb25a236353a81614717832c8ebc879faba5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 343f99d91124eb41e6b50f9cb46a5ed20bf08e11f29cd10c0ad7bcc86fe1e24db027a5c7e4fdc6ace66a7d3ec951995d667174fafa6a80a5bea4e28a85e58272
|
7
|
+
data.tar.gz: 0c17a4a20d47a58148d87eed573e130950f39473886e19dcfa0d965921c0dff9d032c764066749b58702ddf2d5fa443506253a708d9c3c4bfd9617f57d166789
|
@@ -163,6 +163,7 @@ class window.Turbolinks
|
|
163
163
|
throw new Error "Turbolinks refresh: Refresh key elements must have an id."
|
164
164
|
|
165
165
|
if newNode = body.querySelector("##{ nodeId }")
|
166
|
+
newNode = newNode.cloneNode(true)
|
166
167
|
existingNode.parentNode.replaceChild(newNode, existingNode)
|
167
168
|
|
168
169
|
if newNode.nodeName == 'SCRIPT' && newNode.getAttribute("data-turbolinks-eval") != "false"
|
data/lib/turbograft/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turbograft
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kristian Plettenberg-Dussault
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2015-01-
|
16
|
+
date: 2015-01-15 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: coffee-rails
|