Template:Toronto/js/bundle min js
// ####################################################### // # This js was produced by the igemwiki generator # // # https://github.com/igemuoftATG/generator-igemwiki # // #######################################################
// repo for this wiki: https://github.com/igemuoftATG/wiki2015
!function r(o,n,e){function t(c,i){if(!n[c]){if(!o[c]){var u="function"==typeof require&&require;if(!i&&u)return u(c,!0);if(l)return l(c,!0);var f=new Error("Cannot find module '"+c+"'");throw f.code="MODULE_NOT_FOUND",f}var a=n[c]={exports:{}};o[c][0].call(a.exports,function(r){var n=o[c][1][r];return t(n?n:r)},a,a.exports,r,o,n,e)}return n[c].exports}for(var l="function"==typeof require&&require,c=0;c<e.length;c++)t(e[c]);return t}({1:[function(r,o,n){var e;e=function(){function r(){var r,o,n,e,t,l,c,i;for(console.log("initiliazed a ScrollHandler!"),c=["h1","h2","h3","h4","h5","h6"],n=0,t=c.length;t>n;n++)for(o=c[n],i=$(o),e=0,l=i.length;l>e;e++)r=i[e],console.log(o,$(r).attr("id"),$(r).offset().top);$("window").scroll(console.log("scrolling!")),this.handle()}return r.prototype.handle=function(){return this.currentScroll=$("body").scrollTop(),console.log(this.currentScroll)},r}(),o.exports=e},{}],2:[function(r,o,n){ScrollHandler=r("./ScrollHandler"),$(document).ready(function(){$("body").scrollspy({target:"#tableofcontents"})})},{"./ScrollHandler":1}]},{},[1,2]);