Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
server
team-presentation
Commits
e7b9e953
Commit
e7b9e953
authored
Sep 28, 2014
by
Hakim El Hattab
Browse files
remove classList condition from unrelated dependencies
parent
36cdaefd
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
e7b9e953
...
...
@@ -209,13 +209,13 @@ Reveal.initialize({
{
src
:
'
plugin/highlight/highlight.js
'
,
async
:
true
,
callback
:
function
()
{
hljs
.
initHighlightingOnLoad
();
}
},
// Zoom in and out with Alt+click
{
src
:
'
plugin/zoom-js/zoom.js
'
,
async
:
true
,
condition
:
function
()
{
return
!!
document
.
body
.
classList
;
}
},
{
src
:
'
plugin/zoom-js/zoom.js
'
,
async
:
true
},
// Speaker notes
{
src
:
'
plugin/notes/notes.js
'
,
async
:
true
,
condition
:
function
()
{
return
!!
document
.
body
.
classList
;
}
},
{
src
:
'
plugin/notes/notes.js
'
,
async
:
true
},
// Remote control your reveal.js presentation using a touch device
{
src
:
'
plugin/remotes/remotes.js
'
,
async
:
true
,
condition
:
function
()
{
return
!!
document
.
body
.
classList
;
}
},
{
src
:
'
plugin/remotes/remotes.js
'
,
async
:
true
},
// MathJax
{
src
:
'
plugin/math/math.js
'
,
async
:
true
}
...
...
index.html
View file @
e7b9e953
...
...
@@ -401,8 +401,8 @@ function linkify( selector ) {
{
src
:
'
plugin/markdown/marked.js
'
,
condition
:
function
()
{
return
!!
document
.
querySelector
(
'
[data-markdown]
'
);
}
},
{
src
:
'
plugin/markdown/markdown.js
'
,
condition
:
function
()
{
return
!!
document
.
querySelector
(
'
[data-markdown]
'
);
}
},
{
src
:
'
plugin/highlight/highlight.js
'
,
async
:
true
,
condition
:
function
()
{
return
!!
document
.
querySelector
(
'
pre code
'
);
},
callback
:
function
()
{
hljs
.
initHighlightingOnLoad
();
}
},
{
src
:
'
plugin/zoom-js/zoom.js
'
,
async
:
true
,
condition
:
function
()
{
return
!!
document
.
body
.
classList
;
}
},
{
src
:
'
plugin/notes/notes.js
'
,
async
:
true
,
condition
:
function
()
{
return
!!
document
.
body
.
classList
;
}
}
{
src
:
'
plugin/zoom-js/zoom.js
'
,
async
:
true
},
{
src
:
'
plugin/notes/notes.js
'
,
async
:
true
}
]
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment