diff --git a/site/.gitignore b/site/.gitignore index b73eda280..91d176bcf 100644 --- a/site/.gitignore +++ b/site/.gitignore @@ -2,4 +2,5 @@ public db.json debug.log !/yarn.lock +!themes/embark/source/js/linkjuice/dist diff --git a/site/themes/embark/source/js/linkjuice/dist/linkjuice.min.js b/site/themes/embark/source/js/linkjuice/dist/linkjuice.min.js new file mode 100644 index 000000000..2e96eca3f --- /dev/null +++ b/site/themes/embark/source/js/linkjuice/dist/linkjuice.min.js @@ -0,0 +1,3 @@ +/*! linkjuice v1.0.1 | (c) 2016 @toddmotto | https://github.com/toddmotto/linkjuice */ +!function(e,n){if("function"==typeof define&&define.amd)define(["exports"],n);else if("undefined"!=typeof exports)n(exports);else{var t={exports:{}};n(t.exports),e.linkjuice=t.exports}}(this,function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});{var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=void 0,o=void 0,r=void 0,i=function(e,n){return'\n \n "},u=function(e){return' "+e.innerHTML+"\n '+e.innerHTML+""},c=function(e,n){return e.id?(e.innerHTML=n(e,r),void 0):(console.warn("No ID for element",e),void 0)},f=function(e,n,t){for(var o=t;--e>=0;)Array.isArray(o[o.length-1])||o.push([]),o=o[o.length-1];o.push(n)},s=function(e){var n=/^H[1-6]$/,t=[];return e.filter(function(e){return!n.test(e.tagName)}).length>0?(console.warn("Nested table of contents is only possible with regular header tags"),t):(e.forEach(function(e){return f(parseInt(e.tagName.substr(1),10)-1,e,t)}),t)},l=function d(e,n){var t=e.map(function(e){return Array.isArray(e)?d(e,n):"