showoff 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/showoff/version.rb +1 -1
- data/public/js/showoff.js +5 -5
- data/views/presenter.erb +1 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a500763400a9b53499d748a5128aad932228638
|
4
|
+
data.tar.gz: 34570d4eb7bbd84cbccac8d61b7fd44ebf1b47ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 706412e299a95a4d67d6de1ae9f5c9f66042c073905f237a1bb6bb33c392e14e5bc6664066a22743309401e83ad5e02cd346f788555edb884412e807557503d3
|
7
|
+
data.tar.gz: 50f32ce8a733aa0f7866671f4c05c4273f050161be8a4836ee58eaacef5af53a618da3c0f3eadaec3924e676682351c15b36ddc842b333eedb32228caa8fabf3
|
data/lib/showoff/version.rb
CHANGED
data/public/js/showoff.js
CHANGED
@@ -702,14 +702,14 @@ function renderForm(form) {
|
|
702
702
|
// poke inside to get options, then render each as a span and replace the select
|
703
703
|
var parent = $(input).parent();
|
704
704
|
|
705
|
-
$(input).children('option').each(function() {
|
706
|
-
var text = $(
|
707
|
-
var classes = $(
|
705
|
+
$(input).children('option').each(function(index, option) {
|
706
|
+
var text = $(option).text();
|
707
|
+
var classes = $(option).attr('class');
|
708
708
|
|
709
709
|
if(! text.match(/^-+$/)) {
|
710
710
|
var resultDiv = $('<div>')
|
711
711
|
.addClass('item')
|
712
|
-
.attr('data-value', $(
|
712
|
+
.attr('data-value', $(option).val())
|
713
713
|
.append($('<span>').addClass('answer').text(text))
|
714
714
|
.append($('<div>').addClass('bar'));
|
715
715
|
if (classes) {
|
@@ -1184,7 +1184,7 @@ var removeResults = function() {
|
|
1184
1184
|
|
1185
1185
|
var print = function(text) {
|
1186
1186
|
removeResults();
|
1187
|
-
var _results = $('<div>').addClass('results').html('<pre>'+$.print(text, {max_string:
|
1187
|
+
var _results = $('<div>').addClass('results').html('<pre>'+$.print(text, {max_string:1500})+'</pre>');
|
1188
1188
|
$('body').append(_results);
|
1189
1189
|
_results.click(removeResults);
|
1190
1190
|
|
data/views/presenter.erb
CHANGED
@@ -95,8 +95,7 @@
|
|
95
95
|
|
96
96
|
<div id="bottom">
|
97
97
|
<div id="buttonNav">
|
98
|
-
<
|
99
|
-
<span id="buttonNext"><label class="fa fa-chevron-right fa-lg">Next</label></span>
|
98
|
+
<div id="buttonPrev"><i class="fa fa-chevron-left fa-lg"></i> Previous</div><div id="buttonNext">Next <i class="fa fa-chevron-right fa-lg"></i></div>
|
100
99
|
</div>
|
101
100
|
<div id="questions">
|
102
101
|
<h3>Audience Questions</h3>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: showoff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Chacon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -333,7 +333,8 @@ files:
|
|
333
333
|
- public/js/presenter.js
|
334
334
|
- public/js/showoff.js
|
335
335
|
homepage: http://github.com/puppetlabs/showoff
|
336
|
-
licenses:
|
336
|
+
licenses:
|
337
|
+
- MIT
|
337
338
|
metadata: {}
|
338
339
|
post_install_message: |2+
|
339
340
|
_________________________________________
|