Commit Graph

1305 Commits

Author SHA1 Message Date
Hakim El Hattab
b9d25057d6 Merge branch 'fix-isFirstSlide' of https://github.com/fabianorosas/reveal.js into dev 2014-05-14 08:50:28 +02:00
Hakim El Hattab
54c3c23e36 fix bug in retrieval or background images while in pdf mode 2014-05-10 11:18:13 +02:00
Hakim El Hattab
06ca536ae1 no need to override font sizes after updates to pdf printing 2014-05-10 10:10:59 +02:00
fabiano
ffecac6df3 == --> === 2014-05-09 16:11:04 -03:00
fabiano
cb4fe35bac fixed a problem in the function isFirstSlide
when visiting a vertical slide and then going back to the first slide, the function would return false.
made it more fail proof by checking the indices directly.
2014-05-09 15:58:56 -03:00
fabiano
d072be2f57 kill-yank mistake 2014-05-09 15:41:04 -03:00
fabiano
af1ade1418 Broaden the coverage of isFirstSlide test
If we:
- visit a vertical slide

and then:
- go to the first slide

the function will return **false**.

Added a test to isLastSlide too just to be sure.
2014-05-09 15:37:57 -03:00
fabiano
92fd4f78c8 Small typo 2014-05-09 11:51:55 -03:00
Hakim El Hattab
c4e202cd0f fix edge case in singleton node creation 2014-05-07 22:02:05 +02:00
Hakim El Hattab
f31f0ffa70 createSingletonNode now ensures found nodes are in the correct container 2014-05-07 21:47:47 +02:00
Hakim El Hattab
3eb7038a15 sync server-side speaker notes after notes window opens 2014-05-04 10:10:21 +02:00
Hakim El Hattab
5e85f02eb1 ensure default can be prevented 2014-05-04 09:32:10 +02:00
Hakim El Hattab
4c5b15d0b9 update server side notes to match client side plugin 2014-05-04 09:32:00 +02:00
Hakim El Hattab
54e256764c limit size of media elements when printing to pdf 2014-05-04 08:29:45 +02:00
Hakim El Hattab
da1f221b4f reduce max-height of images in pdfs 2014-05-04 08:24:26 +02:00
Hakim El Hattab
fa6187072e clicking on notes timer now resets it #779 2014-05-04 08:13:09 +02:00
Hakim El Hattab
1b236bdf21 wait for document to load before triggering pdf layout 2014-04-29 13:40:55 +02:00
Hakim El Hattab
2ac0a55ccf ensure pdf pages are never zero-height 2014-04-29 13:30:56 +02:00
Hakim El Hattab
eec14b9c92 pdf background size rounding error 2014-04-29 10:47:05 +02:00
Hakim El Hattab
ebb9a689a0 updates to phantom pdf print script, arguments for width/height 2014-04-29 10:24:13 +02:00
Hakim El Hattab
fbf999ec81 null check background 2014-04-28 12:31:34 +02:00
Hakim El Hattab
1391253cb8 test same conditions for both getSlide and getSlideBackground 2014-04-28 11:54:11 +02:00
Hakim El Hattab
635e51f8f5 addition background image and getSlideBackground tests 2014-04-28 11:51:35 +02:00
Hakim El Hattab
9873839a50 fix issue with background images on first vertical sldie 2014-04-28 11:51:21 +02:00
Hakim El Hattab
9f0224adf9 update visibility of slides as part of sync 2014-04-28 10:59:31 +02:00
Hakim El Hattab
02725cf728 prefer scaling over zooming on mobile devices 2014-04-28 10:41:31 +02:00
Hakim El Hattab
fcec8d058d fix lazy loading bug related to data-background-image attribute 2014-04-28 09:58:13 +02:00
Hakim El Hattab
fa2413ec73 fix slide transitions in iOS 2014-04-28 09:45:02 +02:00
Hakim El Hattab
b42fae96e5 load all images directly when in 'no-transform'-mode 2014-04-28 09:13:57 +02:00
Hakim El Hattab
6aaff6395a merge umd wrapping 2014-04-27 20:38:20 +02:00
Hakim El Hattab
860580d4d0 getSlideBackground now works in pdf mode, add pdf tests 2014-04-27 17:31:50 +02:00
Hakim El Hattab
41e1e013b8 better defered loading of background media 2014-04-27 15:55:57 +02:00
Hakim El Hattab
7158c12eff lazy load all slide backgrounds 2014-04-27 15:39:11 +02:00
Hakim El Hattab
0140a15bae fix getindices test 2014-04-27 15:33:41 +02:00
Hakim El Hattab
c58096ea99 disregard v index when there is no vertical slides/backgrounds in getSlide/getSlideBackground 2014-04-27 15:04:37 +02:00
Hakim El Hattab
902e36c022 break showing/hiding of slides into separate methods 2014-04-27 14:54:23 +02:00
Hakim El Hattab
eea437f4be new api method: getBackgroundSlide 2014-04-27 14:47:02 +02:00
Hakim El Hattab
1623b3782e fix #627 2014-04-27 08:30:57 +02:00
Hakim El Hattab
ddfb0aa86f abide by configured width/height when printing to pdf 2014-04-26 21:42:16 +02:00
Hakim El Hattab
a522312999 improvements to print stylesheet 2014-04-26 20:49:22 +02:00
Hakim El Hattab
e7d82f1316 fix transitions in firefox 2014-04-26 20:23:40 +02:00
Hakim El Hattab
ae962d729b fix non-pdf printing (closes #881) 2014-04-26 19:16:10 +02:00
Hakim El Hattab
b019604531 Merge branch 'feature/print' into dev 2014-04-26 18:21:39 +02:00
Hakim El Hattab
1e5ca748a4 enable reveal.js keyboard shortcuts anywhere in notes window 2014-04-26 11:36:03 +02:00
Hakim El Hattab
b797bbb61b readme update, kill event listeners when printing pdf 2014-04-26 11:02:54 +02:00
Hakim El Hattab
704022d948 simplify pdf layout 2014-04-26 10:22:18 +02:00
Hakim El Hattab
2f90e9198d some more flexibility for pdf export sizes 2014-04-26 09:34:58 +02:00
Hakim El Hattab
059cca6fa4 abide by configured slide width when exporting to pdf 2014-04-26 08:51:33 +02:00
Hakim El Hattab
3adaed2a1e allow tall slides to spread over pages in pdf export 2014-04-26 08:26:20 +02:00
Hakim El Hattab
a49a78c454 remove needless condition 2014-04-23 21:18:13 +02:00