Merge branch 'patch-2' of https://github.com/teawithfruit/reveal.js into dev
This commit is contained in:
commit
daa5f031bf
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,11 @@
|
|||
* of external markdown documents.
|
||||
*/
|
||||
(function( root, factory ) {
|
||||
if( typeof exports === 'object' ) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
root.marked = require( './marked' );
|
||||
root.RevealMarkdown = factory( root.marked );
|
||||
root.RevealMarkdown.initialize();
|
||||
} else if( typeof exports === 'object' ) {
|
||||
module.exports = factory( require( './marked' ) );
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue