summaryrefslogtreecommitdiffstats
path: root/theme/javascript/app.js
diff options
context:
space:
mode:
authorJames Phillpotts <jphillpotts@scottlogic.co.uk>2014-04-08 09:51:11 +0100
committerAaron O'Mullan <aaron.omullan@friendco.de>2014-04-12 01:25:07 -0700
commitf6595f51119baca04bf91e619f64518d400e5cae (patch)
tree765ad8ab0f40d3bb68c03e8df1d5246664556e9c /theme/javascript/app.js
parentab27725b9935b185a58b725e75aedeb579e87d8f (diff)
downloadgitbook-f6595f51119baca04bf91e619f64518d400e5cae.zip
gitbook-f6595f51119baca04bf91e619f64518d400e5cae.tar.gz
gitbook-f6595f51119baca04bf91e619f64518d400e5cae.tar.bz2
Tabular quiz
Diffstat (limited to 'theme/javascript/app.js')
-rw-r--r--theme/javascript/app.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/theme/javascript/app.js b/theme/javascript/app.js
index 392d45b..f18ae24 100644
--- a/theme/javascript/app.js
+++ b/theme/javascript/app.js
@@ -7,10 +7,11 @@ require([
"core/state",
"core/keyboard",
"core/exercise",
+ "core/quiz",
"core/progress",
"core/sidebar",
"core/search"
-], function($, storage, analytic, sharing, state, keyboard, exercise, progress, sidebar, search){
+], function($, storage, analytic, sharing, state, keyboard, exercise, quiz, progress, sidebar, search){
$(document).ready(function() {
var $book = state.$book;
@@ -35,8 +36,9 @@ require([
});
}
- // Bind exercise
+ // Bind exercises
exercise.init();
+ quiz.init();
// Bind sharing button
sharing.init();