slide-em-up 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module SlideEmUp
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
@@ -291,11 +291,11 @@ self.prototype = {
291
291
  break;
292
292
  case 'touchstart':
293
293
  evt.preventDefault(); // prevent image drag
294
- data = event.touches ? event.touches[0] : event;
294
+ data = evt.touches ? evt.touches[0] : evt;
295
295
  startTouch = { X: data.pageX, Y: data.pageY };
296
296
  break;
297
297
  case 'touchmove':
298
- data = event.touches ? event.touches[0] : event;
298
+ data = evt.touches ? evt.touches[0] : evt;
299
299
  stopTouch = { X: data.pageX, Y: data.pageY };
300
300
  break;
301
301
  case 'touchend':
@@ -11,8 +11,8 @@ html {
11
11
  }
12
12
 
13
13
  body {
14
- font-family: 'Yanone Kaffeesatz', sans-serif;
15
- letter-spacing: .2em;
14
+ font-family: 'Yanone Kaffeesatz', sans-serif;
15
+ letter-spacing: .2em;
16
16
  }
17
17
 
18
18
  button {
@@ -41,6 +41,10 @@ textarea {
41
41
  box-sizing: border-box;
42
42
  }
43
43
 
44
+ blockquote { font-style: italic; }
45
+ blockquote p:before { content: '« '; }
46
+ blockquote p:after { content: ' »'; }
47
+
44
48
  strong, b {
45
49
  font-weight: bold;
46
50
  }
@@ -65,10 +69,10 @@ strong, b {
65
69
  font-size: 0.8in;
66
70
  }
67
71
 
68
- .slide h3 {
69
- font-weight: bold;
70
- font-size: 0.6in;
71
- }
72
+ .slide h3 {
73
+ font-weight: bold;
74
+ font-size: 0.6in;
75
+ }
72
76
 
73
77
  .slide p,
74
78
  .slide li {
@@ -108,18 +112,37 @@ strong, b {
108
112
  padding-right: .2em;
109
113
  }
110
114
 
111
- section > header.slide > h1 {
112
- position: absolute;
113
- top: 50%;
114
- left: 0;
115
- right: 0;
116
- margin-top: -1.2em;
117
- font-size: 300%;
118
- line-height: 1;
119
- text-align: center;
115
+ section > header.slide > h1 {
116
+ position: absolute;
117
+ top: 50%;
118
+ left: 0;
119
+ right: 0;
120
+ margin-top: -1.2em;
121
+ font-size: 300%;
122
+ line-height: 1;
123
+ text-align: center;
124
+ }
125
+
126
+ /* Mark slides as incomplete to spot them easier */
127
+ .incomplete.slide::after {
128
+ content: 'INCOMPLETE';
129
+ font-weight: bold;
130
+ position: absolute;
131
+ top: 10%;
132
+ left: 70%;
133
+ padding: .1em .4em 0;
134
+ border: .1em solid;
135
+ color: rgba(255, 0, 0, .8);
136
+ font-size: 140%;
137
+ border-radius: .2em;
138
+ transform: rotate(30deg);
120
139
  }
121
140
 
122
- .two_cols pre { float: left; width: 43%; margin-right: 4%; }
141
+ .two_cols pre {
142
+ float: left;
143
+ width: 43%;
144
+ margin-right: 4%;
145
+ }
123
146
 
124
147
  .white { color: #ffffff; }
125
148
  .light3 { color: #fdf6e3; }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slide-em-up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-06 00:00:00.000000000 Z
12
+ date: 2012-10-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: goliath
16
- requirement: &75213700 !ruby/object:Gem::Requirement
16
+ requirement: &69248210 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *75213700
24
+ version_requirements: *69248210
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: redcarpet
27
- requirement: &75213370 !ruby/object:Gem::Requirement
27
+ requirement: &69247840 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '2.1'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *75213370
35
+ version_requirements: *69247840
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: erubis
38
- requirement: &75212860 !ruby/object:Gem::Requirement
38
+ requirement: &69247530 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '2.7'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *75212860
46
+ version_requirements: *69247530
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: yajl-ruby
49
- requirement: &75212540 !ruby/object:Gem::Requirement
49
+ requirement: &69247190 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '1.1'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *75212540
57
+ version_requirements: *69247190
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: albino
60
- requirement: &75212210 !ruby/object:Gem::Requirement
60
+ requirement: &69246940 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '1.3'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *75212210
68
+ version_requirements: *69246940
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: minitest
71
- requirement: &75211700 !ruby/object:Gem::Requirement
71
+ requirement: &69246570 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: '2.3'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *75211700
79
+ version_requirements: *69246570
80
80
  description: Slide'em up is a presentation tool that displays markdown-formatted slides
81
81
  email: bruno.michel@af83.com
82
82
  executables:
@@ -89,128 +89,128 @@ files:
89
89
  - MIT-LICENSE
90
90
  - README.md
91
91
  - Gemfile
92
- - bin/slide-em-up2pdf
93
92
  - bin/slide-em-up
94
- - lib/slide-em-up.rb
95
- - lib/slide-em-up/markdown.rb
93
+ - bin/slide-em-up2pdf
94
+ - lib/slide-em-up/presentation.rb
96
95
  - lib/slide-em-up/slides_api.rb
96
+ - lib/slide-em-up/markdown.rb
97
+ - lib/slide-em-up/version.rb
97
98
  - lib/slide-em-up/remote_api.rb
98
99
  - lib/slide-em-up/routes.rb
99
- - lib/slide-em-up/presentation.rb
100
- - lib/slide-em-up/version.rb
101
- - themes/shower/index.erb
102
- - themes/shower/js/script.js
103
- - themes/shower/css/fonts.css
104
- - themes/shower/css/reset.css
105
- - themes/shower/css/style.css
100
+ - lib/slide-em-up.rb
106
101
  - themes/shower/images/ribbon.svg
107
- - themes/shower/images/grid.png
108
102
  - themes/shower/images/linen.png
103
+ - themes/shower/images/grid.png
104
+ - themes/shower/css/style.css
105
+ - themes/shower/css/reset.css
106
+ - themes/shower/css/fonts.css
109
107
  - themes/shower/README
108
+ - themes/shower/index.erb
109
+ - themes/shower/js/script.js
110
+ - themes/memories/css/slideshow.css
111
+ - themes/memories/css/theme.css
112
+ - themes/memories/css/fonts.css
113
+ - themes/memories/README
114
+ - themes/memories/index.erb
115
+ - themes/memories/js/prefixfree.min.js
116
+ - themes/memories/js/slideshow.js
117
+ - themes/reveal/css/reset.css
118
+ - themes/reveal/css/main.css
119
+ - themes/reveal/README
120
+ - themes/reveal/index.erb
121
+ - themes/reveal/js/head.min.js
122
+ - themes/reveal/js/reveal.js
123
+ - themes/reveal/js/classList.js
124
+ - themes/io2012/images/google_developers_icon_128.png
125
+ - themes/io2012/images/io2012_logo.png
126
+ - themes/io2012/css/phone.css
127
+ - themes/io2012/css/default.css
128
+ - themes/io2012/css/fonts.css
129
+ - themes/io2012/README
110
130
  - themes/io2012/index.erb
131
+ - themes/io2012/js/modernizr.custom.45394.js
132
+ - themes/io2012/js/slide-controller.js
133
+ - themes/io2012/js/require-1.0.8.min.js
134
+ - themes/io2012/js/order.js
135
+ - themes/io2012/js/polyfills/dataset.min.js
136
+ - themes/io2012/js/polyfills/classList.min.js
137
+ - themes/io2012/js/polyfills/history.min.js
111
138
  - themes/io2012/js/slide-deck.js
112
- - themes/io2012/js/prettify/lang-clj.js
113
- - themes/io2012/js/prettify/lang-apollo.js
114
- - themes/io2012/js/prettify/lang-css.js
115
- - themes/io2012/js/prettify/lang-go.js
116
- - themes/io2012/js/prettify/lang-ml.js
139
+ - themes/io2012/js/hammer.js
140
+ - themes/io2012/js/slides.js
117
141
  - themes/io2012/js/prettify/lang-lua.js
118
- - themes/io2012/js/prettify/prettify.css
119
- - themes/io2012/js/prettify/lang-lisp.js
120
- - themes/io2012/js/prettify/lang-vb.js
142
+ - themes/io2012/js/prettify/lang-css.js
121
143
  - themes/io2012/js/prettify/lang-n.js
122
- - themes/io2012/js/prettify/lang-scala.js
123
- - themes/io2012/js/prettify/lang-wiki.js
124
- - themes/io2012/js/prettify/lang-xq.js
144
+ - themes/io2012/js/prettify/lang-vhdl.js
125
145
  - themes/io2012/js/prettify/lang-yaml.js
146
+ - themes/io2012/js/prettify/lang-lisp.js
126
147
  - themes/io2012/js/prettify/lang-sql.js
127
- - themes/io2012/js/prettify/prettify.js
148
+ - themes/io2012/js/prettify/lang-scala.js
149
+ - themes/io2012/js/prettify/prettify.css
128
150
  - themes/io2012/js/prettify/lang-hs.js
151
+ - themes/io2012/js/prettify/lang-go.js
129
152
  - themes/io2012/js/prettify/lang-proto.js
153
+ - themes/io2012/js/prettify/lang-wiki.js
154
+ - themes/io2012/js/prettify/prettify.js
155
+ - themes/io2012/js/prettify/lang-ml.js
130
156
  - themes/io2012/js/prettify/lang-tex.js
131
- - themes/io2012/js/prettify/lang-vhdl.js
132
- - themes/io2012/js/polyfills/classList.min.js
133
- - themes/io2012/js/polyfills/dataset.min.js
134
- - themes/io2012/js/polyfills/history.min.js
135
- - themes/io2012/js/hammer.js
136
- - themes/io2012/js/slide-controller.js
137
- - themes/io2012/js/order.js
138
- - themes/io2012/js/slides.js
139
- - themes/io2012/js/require-1.0.8.min.js
140
- - themes/io2012/js/modernizr.custom.45394.js
141
- - themes/io2012/css/fonts.css
142
- - themes/io2012/css/phone.css
143
- - themes/io2012/css/default.css
144
- - themes/io2012/images/google_developers_icon_128.png
145
- - themes/io2012/images/io2012_logo.png
146
- - themes/io2012/README
147
- - themes/common/fonts/league_gothic-webfont.ttf
148
- - themes/common/fonts/OpenSans.woff
149
- - themes/common/fonts/Lato-Italic.woff
150
- - themes/common/fonts/OpenSans-Italic.woff
151
- - themes/common/fonts/YanoneKaffeesatz-Regular.woff
157
+ - themes/io2012/js/prettify/lang-xq.js
158
+ - themes/io2012/js/prettify/lang-clj.js
159
+ - themes/io2012/js/prettify/lang-apollo.js
160
+ - themes/io2012/js/prettify/lang-vb.js
161
+ - themes/template/css/reset.css
162
+ - themes/template/README
163
+ - themes/template/index.erb
164
+ - themes/template/js/prefixfree.min.js
165
+ - themes/html5rocks/css/sea_wave.css
166
+ - themes/html5rocks/css/moon.css
167
+ - themes/html5rocks/css/sand.css
168
+ - themes/html5rocks/css/default.css
169
+ - themes/html5rocks/README
170
+ - themes/html5rocks/index.erb
171
+ - themes/html5rocks/js/slides.js
172
+ - themes/common/css/pygments/manni.css
173
+ - themes/common/css/pygments/solarized.css
174
+ - themes/common/css/pygments/colorful.css
175
+ - themes/common/css/pygments/native.css
176
+ - themes/common/fonts/Lato.woff
177
+ - themes/common/fonts/PTSans.Bold.Italic.woff
178
+ - themes/common/fonts/PTSans.woff
179
+ - themes/common/fonts/TargetBlank.otf
180
+ - themes/common/fonts/PTSans.Italic.woff
181
+ - themes/common/fonts/crimson_text_bold.ttf
182
+ - themes/common/fonts/PTSans.Bold.woff
183
+ - themes/common/fonts/OpenSans-BoldItalic.woff
152
184
  - themes/common/fonts/Lato-BoldItalic.woff
185
+ - themes/common/fonts/DroidSansMono.ttf
153
186
  - themes/common/fonts/OpenSans-Bold.woff
154
187
  - themes/common/fonts/PTSans.Narrow.woff
155
- - themes/common/fonts/PTSans.Narrow.Bold.woff
188
+ - themes/common/fonts/Lato-Italic.woff
189
+ - themes/common/fonts/OpenSans-Italic.woff
190
+ - themes/common/fonts/crimson_text_semibold.ttf
191
+ - themes/common/fonts/PTMono.woff
192
+ - themes/common/fonts/league_gothic-webfont.ttf
156
193
  - themes/common/fonts/crimson_text.ttf
157
- - themes/common/fonts/OpenSans-BoldItalic.woff
158
- - themes/common/fonts/DroidSansMono.ttf
159
- - themes/common/fonts/YanoneKaffeesatz-Bold.woff
160
- - themes/common/fonts/TargetBlank.otf
161
- - themes/common/fonts/PTSans.Italic.woff
162
- - themes/common/fonts/PTSans.Bold.woff
163
- - themes/common/fonts/Lato.woff
164
- - themes/common/fonts/Lato-bold.woff
194
+ - themes/common/fonts/PTSans.Narrow.Bold.woff
165
195
  - themes/common/fonts/DroidSansMono.svg
196
+ - themes/common/fonts/OpenSans.woff
166
197
  - themes/common/fonts/TargetBlank.svg
167
- - themes/common/fonts/crimson_text_bold.ttf
168
- - themes/common/fonts/PTSans.woff
169
- - themes/common/fonts/PTMono.woff
170
- - themes/common/fonts/PTSans.Bold.Italic.woff
171
- - themes/common/fonts/crimson_text_semibold.ttf
172
- - themes/common/css/pygments/manni.css
173
- - themes/common/css/pygments/colorful.css
174
- - themes/common/css/pygments/native.css
175
- - themes/common/css/pygments/solarized.css
176
- - themes/template/index.erb
177
- - themes/template/js/prefixfree.min.js
178
- - themes/template/css/reset.css
179
- - themes/template/README
180
- - themes/reveal/index.erb
181
- - themes/reveal/js/head.min.js
182
- - themes/reveal/js/classList.js
183
- - themes/reveal/js/reveal.js
184
- - themes/reveal/css/main.css
185
- - themes/reveal/css/reset.css
186
- - themes/reveal/README
187
- - themes/3d_slideshow/index.erb
188
- - themes/3d_slideshow/js/slideshow.js
189
- - themes/3d_slideshow/css/main.css
190
- - themes/3d_slideshow/css/reset.css
191
- - themes/3d_slideshow/README
192
- - themes/html5rocks/index.erb
193
- - themes/html5rocks/js/slides.js
194
- - themes/html5rocks/css/sand.css
195
- - themes/html5rocks/css/moon.css
196
- - themes/html5rocks/css/default.css
197
- - themes/html5rocks/css/sea_wave.css
198
- - themes/html5rocks/README
199
- - themes/CSSS/index.erb
200
- - themes/CSSS/js/classList.js
201
- - themes/CSSS/js/prefixfree.min.js
202
- - themes/CSSS/js/slideshow.js
198
+ - themes/common/fonts/Lato-bold.woff
199
+ - themes/common/fonts/YanoneKaffeesatz-Regular.woff
200
+ - themes/common/fonts/YanoneKaffeesatz-Bold.woff
201
+ - themes/CSSS/images/rainbow-wood.jpg
203
202
  - themes/CSSS/css/slideshow.css
204
203
  - themes/CSSS/css/theme.css
205
- - themes/CSSS/images/rainbow-wood.jpg
206
204
  - themes/CSSS/README
207
- - themes/memories/index.erb
208
- - themes/memories/js/prefixfree.min.js
209
- - themes/memories/js/slideshow.js
210
- - themes/memories/css/fonts.css
211
- - themes/memories/css/slideshow.css
212
- - themes/memories/css/theme.css
213
- - themes/memories/README
205
+ - themes/CSSS/index.erb
206
+ - themes/CSSS/js/prefixfree.min.js
207
+ - themes/CSSS/js/slideshow.js
208
+ - themes/CSSS/js/classList.js
209
+ - themes/3d_slideshow/css/reset.css
210
+ - themes/3d_slideshow/css/main.css
211
+ - themes/3d_slideshow/README
212
+ - themes/3d_slideshow/index.erb
213
+ - themes/3d_slideshow/js/slideshow.js
214
214
  homepage: http://github.com/nono/slide-em-up
215
215
  licenses: []
216
216
  post_install_message:
@@ -231,11 +231,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
231
  version: '0'
232
232
  requirements: []
233
233
  rubyforge_project:
234
- rubygems_version: 1.8.12
234
+ rubygems_version: 1.8.16
235
235
  signing_key:
236
236
  specification_version: 3
237
237
  summary: Slide'em up is a presentation tool. You write some slides in markdown, choose
238
238
  a style and it displays it in HTML5. With a browser in full-screen, you can make
239
239
  amazing presentations!
240
240
  test_files: []
241
- has_rdoc: