Skip to content

Commit 8fc3199

Browse files
committed
Added .deck.js
1 parent 532924c commit 8fc3199

File tree

105 files changed

+8806
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+8806
-0
lines changed

50slides/.deck.js/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog
2+
3+
## v1.1.0
4+
5+
- Expand `beforeInit` event to allow halting of init event.
6+
- Create alternative init signature with single options object using new `options.selectors.slides` option.
7+
- Added methods `getTopLevelSlides` and `getNestedSlides`.
8+
- Integrated hash plugin into core.
9+
- Allow for touch swiping to be axis specific or disabled.
10+
- Include ARIA attribute considerations in core and extensions.

50slides/.deck.js/MIT-license.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) 2011-2014 Caleb Troughton
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

50slides/.deck.js/Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
SASSOPTS=--scss --style expanded
2+
3+
default: generate
4+
5+
generate:
6+
sass --update ${SASSOPTS} .
7+
8+
force:
9+
sass --update ${SASSOPTS} --force .
10+
11+
watch:
12+
sass --watch ${SASSOPTS} .

50slides/.deck.js/README.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
#deck.js
2+
3+
A JavaScript library for building modern HTML presentations. deck.js is flexible enough to let advanced CSS and JavaScript authors craft highly customized decks, but also provides templates and themes for the HTML novice to build a standard slideshow.
4+
5+
## Quick Start
6+
7+
This repository includes a `boilerplate.html` as a starting point, with all the extensions included. Just [download it](https://github.com/imakewebthings/deck.js/archive/latest.zip), open `boilerplate.html`, and start editing your slides.
8+
9+
## Documentation
10+
11+
Check out the [documentation page](http://imakewebthings.github.com/deck.js/docs) for more information on the methods, events, and options available in core and all the included extensions. A sample standard slide deck is included in the package under the `introduction` folder. You can also [view that sample deck](http://imakewebthings.github.com/deck.js/introduction) online to play with the available style and transition themes.
12+
13+
## Extensions, Themes, and Related Projects
14+
15+
Take a look at [the wiki](https://github.com/imakewebthings/deck.js/wiki) for lists of extensions, themes, and other related goodies. If you have a publicly available project of your own, feel free to add to the list.
16+
17+
## Dependencies (included in this repository)
18+
19+
- [jQuery](http://jquery.com)
20+
- [Modernizr](http://modernizr.com)
21+
22+
## Tests & Support
23+
24+
Unit tests are written with [Jasmine](http://jasmine.github.io/) and [jasmine-jquery](https://github.com/velesin/jasmine-jquery). You can [run them here](http://imakewebthings.github.com/deck.js/test).
25+
26+
deck.js has been tested with jQuery 1.6+ and works in IE7+, Chrome, FF, Safari, and Opera. The more capable browsers receive greater enhancements, but a basic cutaway slideshow will work for all browsers listed above. Please don't give your presentations in IE6.
27+
28+
For any questions or general discussion about deck.js please direct your attention to the [mailing list](http://groups.google.com/group/deckjs) (uses Google groups.) If you would like to report a bug, please see the [issues page](https://github.com/imakewebthings/deck.js/issues).
29+
30+
## Printing
31+
32+
Core includes stripped down black and white print styles for the standard slide template that is suitable for handouts.
33+
34+
## Awesome Contributors
35+
36+
- [jbuck](https://github.com/jbuck)
37+
- [cykod](https://github.com/cykod)
38+
- [dougireton](https://github.com/dougireton)
39+
- [awirick](https://github.com/awirick)
40+
- Daniel Knittl-Frank
41+
- [alexch](https://github.com/alexch)
42+
- [twitwi](https://github.com/twitwi)
43+
44+
If you would like to contribute a patch to deck.js please do as much as you can of the following:
45+
46+
- Add or amend Jasmine tests.
47+
- Add inline documentation.
48+
- If the standard snippet of an extension changes, please change it in both the introduction deck and the snippet html in the extension folder.
49+
- If the API changes, it would be awesome to receive a parallel pull request to the gh-pages branch which updates the public-facing documentation.
50+
51+
## License
52+
53+
Copyright (c) 2011-2014 Caleb Troughton
54+
55+
Licensed under the [MIT license](https://github.com/imakewebthings/deck.js/blob/master/MIT-license.txt)
56+
57+
## Donations
58+
59+
[![Gittip donate
60+
button](http://img.shields.io/gittip/imakewebthings.png)](https://www.gittip.com/imakewebthings/ "Donate weekly to this project using Gittip")

50slides/.deck.js/core/deck.core.css

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
html, body {
2+
height: 100%;
3+
padding: 0;
4+
margin: 0;
5+
}
6+
7+
.deck-container {
8+
position: relative;
9+
min-height: 100%;
10+
margin: 0 auto;
11+
overflow: hidden;
12+
overflow-y: auto;
13+
}
14+
.js .deck-container {
15+
visibility: hidden;
16+
}
17+
.ready .deck-container {
18+
visibility: visible;
19+
}
20+
.touch .deck-container {
21+
-webkit-text-size-adjust: none;
22+
-moz-text-size-adjust: none;
23+
}
24+
25+
.deck-loading {
26+
display: none;
27+
}
28+
29+
.slide {
30+
width: auto;
31+
min-height: 100%;
32+
position: relative;
33+
}
34+
35+
.deck-before, .deck-previous, .deck-next, .deck-after {
36+
position: absolute;
37+
left: -999em;
38+
top: -999em;
39+
}
40+
41+
.deck-current {
42+
z-index: 2;
43+
}
44+
45+
.slide .slide {
46+
visibility: hidden;
47+
position: static;
48+
min-height: 0;
49+
}
50+
51+
.deck-child-current {
52+
position: static;
53+
z-index: 2;
54+
}
55+
.deck-child-current .slide {
56+
visibility: hidden;
57+
}
58+
.deck-child-current .deck-previous, .deck-child-current .deck-before, .deck-child-current .deck-current {
59+
visibility: visible;
60+
}

0 commit comments

Comments
 (0)