Skip to content

Commit 89e1351

Browse files
author
Gianluca Arbezzano
committed
Bootsrap corley customization
1 parent 8858ee7 commit 89e1351

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2+
bower_components
23
.svn
34
log/*.log
45
tmp/**

bower.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "corley-reveal",
3+
"dependencies": {
4+
"corley-presenter": "*"
5+
}
6+
}

index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,11 +393,13 @@ <h1>THE END</h1>
393393

394394
// Optional reveal.js plugins
395395
dependencies: [
396+
{ src: "bower_components/jquery/dist/jquery.js" },
396397
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
397398
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
398399
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
399400
{ src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
400401
{ src: 'plugin/zoom-js/zoom.js', async: true },
402+
{ src: 'bower_components/corley-presenter/presenter.js', async: true },
401403
{ src: 'plugin/notes/notes.js', async: true }
402404
]
403405
});

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"node": "~0.10.0"
2222
},
2323
"dependencies": {
24+
"bower": "*",
2425
"underscore": "~1.5.1",
2526
"express": "~2.5.9",
2627
"mustache": "~0.7.2",
@@ -44,5 +45,8 @@
4445
"type": "MIT",
4546
"url": "https://github.com/hakimel/reveal.js/blob/master/LICENSE"
4647
}
47-
]
48+
],
49+
"scripts": {
50+
"postinstall" : "./node_modules/.bin/bower install"
51+
}
4852
}

0 commit comments

Comments
 (0)