summaryrefslogtreecommitdiffstats
path: root/theme/javascript/loading.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-02-17 14:07:15 +0100
committerSamy Pessé <samypesse@gmail.com>2016-02-17 14:07:15 +0100
commit6ee9a3a64c76109719227a056ae2b29cb447cd76 (patch)
tree4cc2f8202a83369501a74625ee953b10b286de5b /theme/javascript/loading.js
parentc0196c97a50786cd28c9b72197b39fefb47be333 (diff)
downloadgitbook-6ee9a3a64c76109719227a056ae2b29cb447cd76.zip
gitbook-6ee9a3a64c76109719227a056ae2b29cb447cd76.tar.gz
gitbook-6ee9a3a64c76109719227a056ae2b29cb447cd76.tar.bz2
Remove old theme
Diffstat (limited to 'theme/javascript/loading.js')
-rw-r--r--theme/javascript/loading.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/theme/javascript/loading.js b/theme/javascript/loading.js
deleted file mode 100644
index 797b487..0000000
--- a/theme/javascript/loading.js
+++ /dev/null
@@ -1,14 +0,0 @@
-var state = require('./state');
-
-function showLoading(p) {
- state.$book.addClass('is-loading');
- p.always(function() {
- state.$book.removeClass('is-loading');
- });
-
- return p;
-}
-
-module.exports = {
- show: showLoading
-};