Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thingsym/hugo-theme-techdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorthingsym <thingsym@gmail.com>2019-10-06 09:40:39 +0300
committerthingsym <thingsym@gmail.com>2019-10-06 09:40:39 +0300
commit89b1ccc6e1c405b9601c6760501da152e84e3a9d (patch)
treeafca9d2e4697b82edea42c8d2fc17527fe99868a /static
parentb7270a4be595d3a655c0feb7c71e4d87b50db4ad (diff)
fix: fix javascript path for webpack
Diffstat (limited to 'static')
-rw-r--r--static/js/bundle.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/js/bundle.js b/static/js/bundle.js
new file mode 100644
index 0000000..4abfd0d
--- /dev/null
+++ b/static/js/bundle.js
@@ -0,0 +1 @@
+!function(t){var o={};function e(a){if(o[a])return o[a].exports;var i=o[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=o,e.d=function(t,o,a){e.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:a})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,o){if(1&o&&(t=e(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(e.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var i in t)e.d(a,i,function(o){return t[o]}.bind(null,i));return a},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},e.p="",e(e.s=0)}([function(t,o,e){e(1),e(2)},function(t,o){jQuery(document).ready((function(){jQuery((function(){jQuery(".nav-prev").click((function(){location.href=jQuery(this).attr("href")})),jQuery(".nav-next").click((function(){location.href=jQuery(this).attr("href")}))})),jQuery(document).keydown((function(t){"37"==t.which&&jQuery(".nav.nav-prev").click(),"39"==t.which&&jQuery(".nav.nav-next").click()}))}))},function(t,o){var e;(e=jQuery)(window).on("load.BackToTheTop",(function(){e('a[href^="#"]').BackToTheTop()})),e.fn.BackToTheTop=function(t){var o={duration:300,easing:"swing",offset:0,hash:!0,scrolloffset:0,fadein:"slow",fadeout:"slow",display:"bottom-right",top:0,bottom:0,left:0,right:0,zIndex:999,position:"fixed"};e.extend(o,t),e('a[href^="#"]').on("click.BackToTheTop",(function(){var t=void 0!==e(this).data("backtothetop-scrolltop")?e(this).data("backtothetop-scrolltop"):e(this.hash).offset()?e(this.hash).offset().top:"backtothetop-fixed"==e(this).attr("id")&&"#"==e(this).attr("href")?0:null;if(null!==t){var a=void 0===e(this).data("backtothetop-duration")?o.duration:e(this).data("backtothetop-duration"),i=void 0===e(this).data("backtothetop-easing")?o.easing:e(this).data("backtothetop-easing"),n=void 0===e(this).data("backtothetop-offset")?o.offset:e(this).data("backtothetop-offset"),d=void 0===e(this).data("backtothetop-hash")?o.hash:e(this).data("backtothetop-hash"),f=e(this).attr("href");return e("html,body").animate({scrollTop:t+n},a,i,(function(){!0===d&&window.history.pushState("","",f)})),!1}})),function(){var t=e("a#backtothetop-fixed");if(t){var a=void 0===t.data("backtothetop-fixed-scroll-offset")?o.scrolloffset:t.data("backtothetop-fixed-scroll-offset"),i=void 0===t.data("backtothetop-fixed-fadein")?o.fadein:t.data("backtothetop-fixed-fadein"),n=void 0===t.data("backtothetop-fixed-fadeout")?o.fadeout:t.data("backtothetop-fixed-fadeout"),d=void 0===t.data("backtothetop-fixed-display")?o.display:t.data("backtothetop-fixed-display"),f=void 0===t.data("backtothetop-fixed-top")?o.top:t.data("backtothetop-fixed-top"),r=void 0===t.data("backtothetop-fixed-bottom")?o.bottom:t.data("backtothetop-fixed-bottom"),c=void 0===t.data("backtothetop-fixed-left")?o.left:t.data("backtothetop-fixed-left"),h=void 0===t.data("backtothetop-fixed-right")?o.right:t.data("backtothetop-fixed-right"),s=void 0===t.data("backtothetop-fixed-zindex")?o.zIndex:t.data("backtothetop-fixed-zindex");"top-left"==d?(r="none",h="none"):"top-right"==d?(r="none",c="none"):"bottom-left"==d?(f="none",h="none"):"bottom-right"==d&&(f="none",c="none"),t.css({display:"none"}),e(window).on("scroll.BackToTheTop",(function(){e(this).scrollTop()>a?(t.css({top:f,bottom:r,left:c,right:h,zIndex:s,position:o.position}),"none"==t.css("display")&&t.fadeIn(i)):e(this).scrollTop()<=0+a&&"none"!=t.css("display")&&t.fadeOut(n)}))}}()}}]); \ No newline at end of file