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
f57de200
Commit
f57de200
authored
Jul 09, 2012
by
Hakim El Hattab
Browse files
refactored folder structure, added /plugins which is initially only used by #57
parent
e7c5de23
Changes
12
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
f57de200
...
...
@@ -118,7 +118,7 @@ Once Node.js and the dependencies are installed, run the following command from
By default, the slides will be served at
[
localhost:1947
](
http://localhost:1947
)
.
You can change the appearance of the speaker notes by editing the file at
`
lib
/slidenotes/notes.html`
.
You can change the appearance of the speaker notes by editing the file at
`
plugin
/slidenotes/notes.html`
.
### Known Issues
...
...
@@ -159,7 +159,7 @@ You can change the appearance of the speaker notes by editing the file at `lib/s
-
API methods for adding or removing all event listeners
-
The 'slidechange' event now includes currentSlide and previousSlide
-
Fixed bug where 'slidechange' was firing twice when history was enabled
-
Changed /lib structure
-
Folder structure updates for scalability (see /lib & /plugin)
-
Slide notes by
[
rmurphey
](
https://github.com/rmurphey
)
#### 1.3
...
...
css/main.css
View file @
f57de200
...
...
@@ -12,7 +12,7 @@
@font-face
{
font-family
:
'League Gothic'
;
src
:
url('../lib/
leaguegothic
/league_gothic-webfont.ttf')
format
(
'truetype'
);
src
:
url('../lib/
font
/league_gothic-webfont.ttf')
format
(
'truetype'
);
font-weight
:
normal
;
font-style
:
normal
;
}
...
...
index.html
View file @
f57de200
...
...
@@ -18,7 +18,7 @@
<link
rel=
"stylesheet"
href=
"css/main.css"
>
<link
rel=
"stylesheet"
href=
"css/print.css"
type=
"text/css"
media=
"print"
>
<link
rel=
"stylesheet"
href=
"lib/
highlight
/zenburn.css"
>
<link
rel=
"stylesheet"
href=
"lib/
css
/zenburn.css"
>
</head>
<body>
...
...
@@ -264,7 +264,7 @@ linkify( 'a' );
</div>
<!-- Optional libraries for code syntax highlighting and classList support in IE9 -->
<script
src=
"lib/
head
/head.min.js"
></script>
<script
src=
"lib/
js
/head.min.js"
></script>
<script>
// Load the main reveal.js script
...
...
@@ -314,14 +314,14 @@ linkify( 'a' );
}
);
// Load third party scripts
head
.
js
(
'
lib/
highlight
/highlight.js
'
,
'
lib/
polyfill
s/classList.js
'
,
function
()
{
head
.
js
(
'
lib/
js
/highlight.js
'
,
'
lib/
j
s/classList.js
'
,
function
()
{
// Fire off syntax highlighting for potential code samples in the slides
hljs
.
initHighlightingOnLoad
();
}
);
// If we're runnning the notes server we need to include some additional JS
if
(
window
.
location
.
host
===
'
localhost:1947
'
)
{
head
.
js
(
'
socket.io/socket.io.js
'
,
'
lib
/slidenotes/client.js
'
);
head
.
js
(
'
socket.io/socket.io.js
'
,
'
plugin
/slidenotes/client.js
'
);
}
</script>
...
...
lib/
highlight
/zenburn.css
→
lib/
css
/zenburn.css
View file @
f57de200
File moved
lib/
leaguegothic
/league_gothic-webfont.ttf
→
lib/
font
/league_gothic-webfont.ttf
View file @
f57de200
File moved
lib/leaguegothic
/LICENSE
→
lib/
font/
league
_
gothic
_license
View file @
f57de200
File moved
lib/
polyfill
s/classList.js
→
lib/
j
s/classList.js
View file @
f57de200
File moved
lib/
head
/head.min.js
→
lib/
js
/head.min.js
View file @
f57de200
File moved
lib/
highlight
/highlight.js
→
lib/
js
/highlight.js
View file @
f57de200
File moved
lib
/slidenotes/client.js
→
plugin
/slidenotes/client.js
View file @
f57de200
File moved
lib
/slidenotes/index.js
→
plugin
/slidenotes/index.js
View file @
f57de200
...
...
@@ -21,7 +21,7 @@ io.sockets.on('connection', function(socket) {
});
app
.
configure
(
function
()
{
[
'
css
'
,
'
assets
'
,
'
js
'
,
'
lib
'
].
forEach
(
function
(
dir
)
{
[
'
css
'
,
'
js
'
,
'
plugin
'
,
'
lib
'
].
forEach
(
function
(
dir
)
{
app
.
use
(
'
/
'
+
dir
,
staticDir
(
opts
.
baseDir
+
dir
));
});
});
...
...
@@ -32,7 +32,7 @@ app.get("/", function(req, res) {
app
.
get
(
"
/notes/:socketId
"
,
function
(
req
,
res
)
{
fs
.
readFile
(
opts
.
baseDir
+
'
lib
/slidenotes/notes.html
'
,
function
(
err
,
data
)
{
fs
.
readFile
(
opts
.
baseDir
+
'
plugin
/slidenotes/notes.html
'
,
function
(
err
,
data
)
{
res
.
send
(
Mustache
.
to_html
(
data
.
toString
(),
{
socketId
:
req
.
params
.
socketId
}));
...
...
lib
/slidenotes/notes.html
→
plugin
/slidenotes/notes.html
View file @
f57de200
File moved
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