Commit Graph

137 Commits (0c8ac8f1ee45beae94b80f2945963971d87bca07)

Author SHA1 Message Date
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
VonC 78dfbf5202 test-markdown-element-attributes: formats and test.
- Reformat
- Use new default separator format: '.element: x=y'
- Add new tests for testing that default format
2013-11-30 23:12:41 +01:00
VonC d4e04b82dc test-markdown-attributes.*, new default separator
- Reformat.
- Change default separator test 'slide: x=y'
2013-11-30 23:12:41 +01:00
VonC 8ad633e4f3 Fix element attributes, except for multi-line. 2013-11-30 23:12:39 +01:00
VonC dd9fa3e22b First refactoring 2013-11-30 23:12:38 +01:00
Hakim El Hattab f1a416d07c tests for initial section classes 2013-11-28 11:31:16 -05:00
Hakim El Hattab 0fcff33a61 additional fragment tests 2013-11-25 15:26:22 -05:00
Hakim El Hattab 3427561b64 rewrite fragment sorting to account for multiple fragments with the same index 2013-11-25 14:45:14 -05:00
Hakim El Hattab ef82645589 remove current-fragment when leaving slide, add tests for current fragment 2013-11-23 17:13:14 -05:00
Hakim El Hattab ead723bc1c rename markdown tests to use same naming format as other tests 2013-11-23 16:29:37 -05:00
Hakim El Hattab 60a74ebfa3 fragments are now zero-indexed 2013-11-21 09:01:18 -05:00
Hakim El Hattab a119c83f86 ensure that all fragments on past slides are visible #684 2013-11-07 08:39:19 -05:00
VonC 4b0fe47bb6 Add slide attributes for single slide section case. 2013-11-06 11:06:03 +01:00
VonC 1774de2113 Add unit test for default slide attributes separator pattern. 2013-11-04 16:31:54 +01:00
VonC 2cdd1afe85 Remove console.log debugs, and fix tabs 2013-11-04 16:31:51 +01:00
VonC d098385103 Restore proper pattern for attributes in elements.
It is important that test/test-element-attributes-markdown.html do test
the ability for the user to define its own pattern.
2013-11-04 16:31:40 +01:00
VonC 4def7f116c Add QUnit.js unit tests for attributes in Markdown slides. 2013-11-04 16:31:37 +01:00
Hakim El Hattab 7da98d8110 add concave and zoom background transitions 2013-11-04 07:53:07 -05:00
Hakim El Hattab 89cc3f3a29 don't transition between identical backgrounds 2013-10-30 12:22:00 -04:00
Hakim El Hattab d844195be1 format tweaks markdown.js, remove extra image asset 2013-10-28 09:06:43 -04:00
VonC f92f2fdea6 Add unit-tests for attributes in mardown elements.
Test paragraphs, list items and img attributes.
2013-10-27 22:49:44 +01:00
Hakim El Hattab ac1dbd9d61 remove unused head.js in barebones example #616 2013-10-10 09:11:03 -04:00
Hakim El Hattab bba5a5d69c prep markdown test suite 2013-08-27 09:25:02 -04:00
Hakim El Hattab 1c8fd60595 add test task, avoid attempt to run tests in unrelated html files 2013-08-24 10:52:35 -04:00
Hakim El Hattab f215528575 pause mode tests 2013-08-23 15:57:28 -04:00
Hakim El Hattab 798fbc3dff test coverage for fragments 2013-08-23 15:36:16 -04:00
Hakim El Hattab 2440e19fab move examples into test/ 2013-08-23 14:57:11 -04:00
Hakim El Hattab 5cf49561a8 add test for loop setting 2013-08-22 21:38:37 -04:00
Hakim El Hattab b3db69745d more tests #123 2013-08-22 20:27:41 -04:00
Hakim El Hattab 45fd91f962 more tests, enable test page scroll overflow #123 2013-08-22 20:09:40 -04:00
Hakim El Hattab c01e1b648b more tests, use stricEqual and deepEqual assertions where appropriate #123 2013-08-22 19:51:00 -04:00
Hakim El Hattab d49ff9aa5f include info about which slide the assertion applies to 2013-08-22 19:46:35 -04:00
Hakim El Hattab c7728ba659 add unit tests #123 2013-08-22 19:03:11 -04:00
Hakim El Hattab 01e5a54bb6 test > examples 2013-06-29 21:42:15 -04:00
Hakim El Hattab f0e63c8e75 additional background test 2013-06-29 21:36:11 -04:00
Hakim El Hattab c065705128 background image tweaks 2013-06-22 19:23:44 -04:00
Hakim El Hattab 424f8ee961 additional background test 2013-06-10 22:34:51 +02:00
Hakim El Hattab c3b91560c7 match background and transition slide transition easing equations 2013-06-10 08:59:58 +02:00
Hakim El Hattab ddfb130d11 add test deck for embedded media 2013-06-09 16:42:55 +02:00
Hakim El Hattab 0ce57f1f91 update background test, documented slide backgrounds in readme (#453) 2013-06-04 21:14:17 +02:00
Hakim El Hattab 544e090bd1 allow control over background color when using images (#453) 2013-06-04 20:25:47 +02:00
Hakim El Hattab 15f24f7a9a linear sliding transition option for full page backgrounds (#453) 2013-06-04 20:15:19 +02:00
Hakim El Hattab c11e8f624f support for optional background property overrides (#453) 2013-06-04 19:58:50 +02:00
Hakim El Hattab 90811b8709 add test directory and simple test document for per-slide backgrounds (#453) 2013-06-04 19:42:56 +02:00