abraham 1.1.1 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/application/_abraham.html.erb +4 -0
- data/lib/abraham/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: f5a9c1a8732b54dd31605f42f5e32cf0f923ee85
|
4
|
+
data.tar.gz: 2d7759e71f4fd72008359d75ec04ae4fa2fa43c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26d2d7bdaed394764e35cfd8ab9f4a94197fa51be62d87421d7087c34a37ebc37e04bfbc0460ffc970ec8e256ef8c1aa0b29ca9f4524ac4149dcbc2957641002
|
7
|
+
data.tar.gz: efe53f1380173af7427a80416b4f38b90980bd9353dfef18589a813c3cfb4216c3607f759710be9270c531f4fbb08a921d63691ba46521e9ddb153791c53f3ae
|
@@ -32,6 +32,10 @@
|
|
32
32
|
text: "<%= step['text'] %>",
|
33
33
|
<% if step.key?('attachTo') %>
|
34
34
|
attachTo: { element: "<%= step['attachTo']['element'] %>", on: "<%= step['attachTo']['placement'] %>" },
|
35
|
+
showOn: function() {
|
36
|
+
// Only display this step if its selector is present
|
37
|
+
return document.querySelector("<%= step['attachTo']['element'] %>") ? true : false
|
38
|
+
},
|
35
39
|
<% end %>
|
36
40
|
buttons: [
|
37
41
|
<% if index == 0 %>
|
data/lib/abraham/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: abraham
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: '1.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Abbett
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|