diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-02 20:17:46 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-02 20:17:46 -0700 |
commit | aa4e3abc33727ae9e03d11ee1a9e024ee4e9a473 (patch) | |
tree | 8193465b16fe37da3dfb7b57b4605910b22ac265 /assets/javascript/app.js | |
parent | f24a7fbb6e0495642a78384d3fcbc573dc03ec1b (diff) | |
download | gitbook-aa4e3abc33727ae9e03d11ee1a9e024ee4e9a473.zip gitbook-aa4e3abc33727ae9e03d11ee1a9e024ee4e9a473.tar.gz gitbook-aa4e3abc33727ae9e03d11ee1a9e024ee4e9a473.tar.bz2 |
Add sharing links in header
Diffstat (limited to 'assets/javascript/app.js')
-rw-r--r-- | assets/javascript/app.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/assets/javascript/app.js b/assets/javascript/app.js index b3c2805..f1ba529 100644 --- a/assets/javascript/app.js +++ b/assets/javascript/app.js @@ -2,11 +2,13 @@ require([ "jQuery", "utils/storage", "utils/analytic", + "utils/sharing", + "core/state", "core/exercise", "core/progress", "core/sidebar" -], function($, storage, analytic, _state, exercise, progress, sidebar){ +], function($, storage, analytic, sharing, _state, exercise, progress, sidebar){ $(document).ready(function() { var state = _state(); var $book = state.$book; @@ -30,6 +32,9 @@ require([ // Bind exercise exercise.init(); + // Bind sharing button + sharing.init(); + // Show progress progress.show(); }); |