Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
2
2015-12-uni-ffm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CmS
2015-12-uni-ffm
Commits
024105fb
Commit
024105fb
authored
12 years ago
by
Hakim El Hattab
Browse files
Options
Downloads
Patches
Plain Diff
fix mixed spaces & tabs, remove unused feature test, add missing ;
parent
28567f32
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
js/reveal.js
+28
-28
28 additions, 28 deletions
js/reveal.js
js/reveal.min.js
+64
-64
64 additions, 64 deletions
js/reveal.min.js
with
92 additions
and
92 deletions
js/reveal.js
+
28
−
28
View file @
024105fb
/*!
/*!
* reveal.js 2.0 r2
3
* reveal.js 2.0 r2
4
* http://lab.hakim.se/reveal-js
* http://lab.hakim.se/reveal-js
* MIT licensed
* MIT licensed
*
*
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
*/
var
Reveal
=
(
function
(){
var
Reveal
=
(
function
(){
'
use strict
'
;
var
HORIZONTAL_SLIDES_SELECTOR
=
'
.reveal .slides>section
'
,
var
HORIZONTAL_SLIDES_SELECTOR
=
'
.reveal .slides>section
'
,
VERTICAL_SLIDES_SELECTOR
=
'
.reveal .slides>section.present>section
'
,
VERTICAL_SLIDES_SELECTOR
=
'
.reveal .slides>section.present>section
'
,
IS_TOUCH_DEVICE
=
!!
(
'
ontouchstart
'
in
window
),
// Configurations defaults, can be overridden at initialization time
// Configurations defaults, can be overridden at initialization time
config
=
{
config
=
{
// Display controls in the bottom right corner
// Display controls in the bottom right corner
...
@@ -67,16 +67,16 @@ var Reveal = (function(){
...
@@ -67,16 +67,16 @@ var Reveal = (function(){
// Detect support for CSS 3D transforms
// Detect support for CSS 3D transforms
supports3DTransforms
=
'
WebkitPerspective
'
in
document
.
body
.
style
||
supports3DTransforms
=
'
WebkitPerspective
'
in
document
.
body
.
style
||
'
MozPerspective
'
in
document
.
body
.
style
||
'
MozPerspective
'
in
document
.
body
.
style
||
'
msPerspective
'
in
document
.
body
.
style
||
'
msPerspective
'
in
document
.
body
.
style
||
'
OPerspective
'
in
document
.
body
.
style
||
'
OPerspective
'
in
document
.
body
.
style
||
'
perspective
'
in
document
.
body
.
style
,
'
perspective
'
in
document
.
body
.
style
,
supports2DTransforms
=
'
WebkitTransform
'
in
document
.
body
.
style
||
supports2DTransforms
=
'
WebkitTransform
'
in
document
.
body
.
style
||
'
MozTransform
'
in
document
.
body
.
style
||
'
MozTransform
'
in
document
.
body
.
style
||
'
msTransform
'
in
document
.
body
.
style
||
'
msTransform
'
in
document
.
body
.
style
||
'
OTransform
'
in
document
.
body
.
style
||
'
OTransform
'
in
document
.
body
.
style
||
'
transform
'
in
document
.
body
.
style
,
'
transform
'
in
document
.
body
.
style
,
// Throttles mouse wheel navigation
// Throttles mouse wheel navigation
mouseWheelTimeout
=
0
,
mouseWheelTimeout
=
0
,
...
@@ -321,7 +321,7 @@ var Reveal = (function(){
...
@@ -321,7 +321,7 @@ var Reveal = (function(){
return
function
(
event
)
{
return
function
(
event
)
{
event
.
preventDefault
();
event
.
preventDefault
();
delegate
.
call
();
delegate
.
call
();
}
}
;
}
}
/**
/**
...
@@ -510,17 +510,17 @@ var Reveal = (function(){
...
@@ -510,17 +510,17 @@ var Reveal = (function(){
*/
*/
function
linkify
()
{
function
linkify
()
{
if
(
supports3DTransforms
&&
!
(
'
msPerspective
'
in
document
.
body
.
style
)
)
{
if
(
supports3DTransforms
&&
!
(
'
msPerspective
'
in
document
.
body
.
style
)
)
{
var
nodes
=
document
.
querySelectorAll
(
'
.reveal .slides section a:not(.image)
'
);
var
nodes
=
document
.
querySelectorAll
(
'
.reveal .slides section a:not(.image)
'
);
for
(
var
i
=
0
,
len
=
nodes
.
length
;
i
<
len
;
i
++
)
{
for
(
var
i
=
0
,
len
=
nodes
.
length
;
i
<
len
;
i
++
)
{
var
node
=
nodes
[
i
];
var
node
=
nodes
[
i
];
if
(
node
.
textContent
&&
!
node
.
querySelector
(
'
img
'
)
&&
(
!
node
.
className
||
!
node
.
classList
.
contains
(
node
,
'
roll
'
)
)
)
{
if
(
node
.
textContent
&&
!
node
.
querySelector
(
'
img
'
)
&&
(
!
node
.
className
||
!
node
.
classList
.
contains
(
node
,
'
roll
'
)
)
)
{
node
.
classList
.
add
(
'
roll
'
);
node
.
classList
.
add
(
'
roll
'
);
node
.
innerHTML
=
'
<span data-title="
'
+
node
.
text
+
'
">
'
+
node
.
innerHTML
+
'
</span>
'
;
node
.
innerHTML
=
'
<span data-title="
'
+
node
.
text
+
'
">
'
+
node
.
innerHTML
+
'
</span>
'
;
}
}
};
}
}
}
}
}
/**
/**
...
@@ -818,7 +818,7 @@ var Reveal = (function(){
...
@@ -818,7 +818,7 @@ var Reveal = (function(){
// Remove the 'enabled' class from all directions
// Remove the 'enabled' class from all directions
[
dom
.
controlsLeft
,
dom
.
controlsRight
,
dom
.
controlsUp
,
dom
.
controlsDown
].
forEach
(
function
(
node
)
{
[
dom
.
controlsLeft
,
dom
.
controlsRight
,
dom
.
controlsUp
,
dom
.
controlsDown
].
forEach
(
function
(
node
)
{
node
.
classList
.
remove
(
'
enabled
'
);
node
.
classList
.
remove
(
'
enabled
'
);
}
)
}
)
;
if
(
routes
.
left
)
dom
.
controlsLeft
.
classList
.
add
(
'
enabled
'
);
if
(
routes
.
left
)
dom
.
controlsLeft
.
classList
.
add
(
'
enabled
'
);
if
(
routes
.
right
)
dom
.
controlsRight
.
classList
.
add
(
'
enabled
'
);
if
(
routes
.
right
)
dom
.
controlsRight
.
classList
.
add
(
'
enabled
'
);
...
@@ -1111,12 +1111,12 @@ var Reveal = (function(){
...
@@ -1111,12 +1111,12 @@ var Reveal = (function(){
// Returns the previous slide element, may be null
// Returns the previous slide element, may be null
getPreviousSlide
:
function
()
{
getPreviousSlide
:
function
()
{
return
previousSlide
return
previousSlide
;
},
},
// Returns the current slide element
// Returns the current slide element
getCurrentSlide
:
function
()
{
getCurrentSlide
:
function
()
{
return
currentSlide
return
currentSlide
;
},
},
// Helper method, retrieves query string as a key/value hash
// Helper method, retrieves query string as a key/value hash
...
...
This diff is collapsed.
Click to expand it.
js/reveal.min.js
+
64
−
64
View file @
024105fb
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment