Commit Graph

93 Commits

Author SHA1 Message Date
Hakim El Hattab
2b61dde83b add audio autoplay test 2018-10-31 08:59:47 +01:00
Hakim El Hattab
42e796afb2 dispatch state events after current slide has updated #2264 2018-10-26 11:29:08 +02:00
Hakim El Hattab
7d66999c7f syntax tweak 2018-10-11 11:32:23 +02:00
Hakim El Hattab
a4dc1c6440 fix #1590 2018-10-11 11:24:54 +02:00
Hakim El Hattab
5890f602b3
Merge pull request #2090 from bnjmnt4n/math
Allow users to customise MathJax options.
2018-10-08 08:41:08 +02:00
Hakim El Hattab
fb089e7083 fix build error 2018-10-04 15:43:58 +02:00
Hakim El Hattab
196d2a3971 remove classlist polyfill, cross browser support is good enough now 2018-10-04 14:54:35 +02:00
Hakim El Hattab
29b0e86089 remove head.min.js in favor of simple built-in script loader 2018-10-04 14:48:01 +02:00
Hakim El Hattab
4ba0d73345 add , adds wrapper element around background images/videos/iframes 2018-04-27 15:53:02 +02:00
Benjamin Tan
b2d532ea28 Allow users to customise MathJax options.
Ref. #1856, #2006, #2045.

This is a more open approach to allow customisation of all MathJax options instead of select options only.
2018-02-08 20:54:21 +08:00
Benjamin Tan
4dabd439d2 Fix testing on Windows machines.
Windows carriage return line endings were not being tested for.

Fixes #2087.
2018-02-01 20:28:20 +08:00
Benjamin Tan
f9d0766637 Update QUnit to 2.5.0 and grunt-contrib-qunit to 2.0.0. 2018-01-22 22:38:32 +08:00
Christian Lawson-Perfect
9495b64d2c replace cdn.mathjax.org with cdnjs
cdn.mathjax.org is shutting down: https://www.mathjax.org/cdn-shutting-down/

This changes the default MathJax URL in the math plugin, as well as
references in README.md and test/examples/math.html
2017-04-05 12:48:56 +01:00
Benjamin Tan
90b301d0a0 Enable passing options for parsing Markdown.
Closes #1163, #1495.
2016-12-08 17:41:55 +08:00
Hakim El Hattab
e4634f20e8 revise simple.md so that slide 1.1 and 1.2 correctly break into separate slides 2016-06-22 09:24:09 +02:00
Hakim El Hattab
8d7ff10ce3 Merge branch 'bug/markdownSetOptions' of https://github.com/snowyu/reveal.js into dev 2016-06-22 09:20:24 +02:00
Hakim El Hattab
993526ff67 fix broken iframe in backgrounds example 2016-01-08 14:18:53 +01:00
Riceball LEE
16ebf2a783 * [bug] the markdown plugin can not render highlight codes for marked.setOptions(highlight) 2015-11-11 07:37:08 +00:00
Hakim El Hattab
0338f280d3 add getSlideNotes API method and tests 2015-09-10 08:28:52 +02:00
Hakim El Hattab
207b0c71ed fix lazy load selector error 2015-05-06 11:25:58 +02:00
Hakim El Hattab
e67dc9251a tweak to iframe lazy load test 2015-05-06 11:02:41 +02:00
Hakim El Hattab
7dd33f188f lazy-load iframes only for current slide, unload when hidden 2015-05-04 20:58:58 -04:00
Hakim El Hattab
80e52c08e9 add test presentation for per-slide transitions, compile css #1106 2015-05-03 19:53:37 -04:00
Hakim El Hattab
7f55e07f85 fix markdown test 2015-04-12 18:22:39 +02:00
Hakim El Hattab
4e3b91ae03 remove 'roll-in' fragment style due to Chrome crash #1150 2015-04-12 18:12:48 +02:00
Hakim El Hattab
16f9e95d87 update slide bg example presentation to include iframes and videos #1029 2014-10-17 08:52:38 +02:00
Hakim El Hattab
41f20301b6 has-dark-background 2014-09-10 10:12:25 +02:00
Hakim El Hattab
2479883d3c is-light-background -> has-light-background, doesn't apply to background itself 2014-09-09 17:33:52 +02:00
Hakim El Hattab
5e585ddbf2 update slide backgrounds example 2014-09-09 17:21:29 +02:00
Hakim El Hattab
9fb0c5f3d3 use computed style when calculating bg birghtness 2014-09-09 17:18:15 +02:00
Hakim El Hattab
4823b267cc better test for fragment indices 2014-09-09 12:42:11 +02: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
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
860580d4d0 getSlideBackground now works in pdf mode, add pdf tests 2014-04-27 17:31:50 +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
eea437f4be new api method: getBackgroundSlide 2014-04-27 14:47:02 +02:00
Hakim El Hattab
73f96f1d28 lazy-load support for audio #793 2014-04-22 16:10:08 +02:00
Hakim El Hattab
3ad0d6adc0 tests for lazy loading 2014-04-22 15:58:21 +02:00
Hakim El Hattab
3aaca471b1 stop tracking minified files #783 2014-04-06 10:09:25 +02:00
Hakim El Hattab
79f45c811e test for #858 2014-04-01 09:14:29 +02:00
Hakim El Hattab
a91f4d601d test for getProgress 2014-03-12 22:29:01 +01:00
Hakim El Hattab
015468c3a2 renamed markdown attributes for clarity and consistency: data-vertical -> data-separator-vertical, data-notes -> data-separator-notes 2014-02-17 21:15:02 +01:00
Hakim El Hattab
9421541825 add tests for auto-slide events #766 2013-12-21 18:08:40 +01:00
Hakim El Hattab
a97d73167d simplify how data-autoslide is picked up from fragments #766 2013-12-21 17:54:21 +01:00
Hakim El Hattab
ed4cdaf9e7 test isAutoSliding, isAutoSliding returns false when no autoSlide value is set #766 2013-12-21 17:33:30 +01:00
Hakim El Hattab
552525c7a5 rename markdown attribute test files to same format 2013-12-02 12:23:18 +01:00