trickster 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c02a949789bfb2e5ab9c23ffc1d210121b3dc983
4
- data.tar.gz: 27b1d7483269c9ab884c2010223f0b9d3dbbc22a
3
+ metadata.gz: 5f2f241877e715fa105bb4c91978e1a76919bd20
4
+ data.tar.gz: 1a5bfc1a91559e67432c0a42fc380a033760f5ad
5
5
  SHA512:
6
- metadata.gz: 0be42836b625f4c93ee09fa61741e26a53180b0a47da1f0062d1427428948f911d0546f88847f31f3bbbde31dd7c17941ea4d3c418dbf6fb208ba94a20433796
7
- data.tar.gz: e8892bfa7c41467235842f148415bd88ba5e727033cd966945887104fbca311b37a52af57a09030a356af9b590d0e3383c14c544effa35603fbd2dc5cad1a0d2
6
+ metadata.gz: c03827066d8a574e9f86c89eacce7c04f1b2bf5ac2ce4bba0298929ea690598f084ac010be5258f2058843fbb5f990538062352bcefc22884e6899b3d727d98c
7
+ data.tar.gz: cdf41640486c3a5fab7c29c4c801142b719545648c8b84dc8eabe32dd65215e24d74a21218fbeda07fbeac0568a85746253fa6c7da9f5eb35ce9d196bf101478
@@ -117,6 +117,17 @@ Currently, there will be a small timer on the bottom left of your presentation.
117
117
  * If you want to hide the controls (e.g. because you know the keyboard shortcuts or have a presentation remote), add <code>display: none</code> to the <code>#controls</code> stanza in the stylesheet.
118
118
  * You can adjust the style in any other way you see fit in the stylsheet
119
119
 
120
+ === Timing
121
+
122
+ The config allows you to specify the length of your talk, a time at which to warn you, and a time at which to alert you. These all boil down to adding CSS to the timer:
123
+
124
+ * If you are under time, alerting, and warning, <code>time-ok</code> is the class of the timer.
125
+ * If you are under time and alerting, but over for the warning, <code>time-warn</code> is the class of the timer.
126
+ * If you are under time but over alerting, <code>time-alert</code> is the class of the timer.
127
+ * If you are over time, <code>time-over</code> is the class of the timer.
128
+
129
+ You can modify what happens with these styles in your <code>styles.css</code>.
130
+
120
131
  == Customizations/Styling
121
132
 
122
133
  You have two points of customization: +custom.js+, which is loaded *after* all the other JS, but before the +load+ event. This is where you can override Trickster's configuration if you like (e.g. for default transition time).
@@ -27,9 +27,9 @@ var TricksterDefaultConfig = {
27
27
  to the browser. Useful if there might be some vertical
28
28
  scrolling and 32/33/34 would otherwise scroll */
29
29
  keyCodesPreventingDefault: [ 34, 32, 33 ],
30
- lengthMinutes: 3,
31
- lengthWarnAt: 1,
32
- lengthAlertAt: 2
30
+ lengthMinutes: 60, // how much time you have for your talk
31
+ lengthAlertAt: 55, // when you need to be alerted to wrap it up
32
+ lengthWarnAt: 45 // when you want a warning
33
33
  };
34
34
  /** Loads Trickster.
35
35
  * config: configuration, or TricksterDefaultConfig to get the defaults
@@ -1,3 +1,3 @@
1
1
  module Trickster
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trickster
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Copeland