trickster 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.rdoc +11 -0
- data/js/trickster.js +3 -3
- data/lib/trickster/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f2f241877e715fa105bb4c91978e1a76919bd20
|
4
|
+
data.tar.gz: 1a5bfc1a91559e67432c0a42fc380a033760f5ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c03827066d8a574e9f86c89eacce7c04f1b2bf5ac2ce4bba0298929ea690598f084ac010be5258f2058843fbb5f990538062352bcefc22884e6899b3d727d98c
|
7
|
+
data.tar.gz: cdf41640486c3a5fab7c29c4c801142b719545648c8b84dc8eabe32dd65215e24d74a21218fbeda07fbeac0568a85746253fa6c7da9f5eb35ce9d196bf101478
|
data/README.rdoc
CHANGED
@@ -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).
|
data/js/trickster.js
CHANGED
@@ -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:
|
31
|
-
|
32
|
-
|
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
|
data/lib/trickster/version.rb
CHANGED