Added temporary scripts for testing

This commit is contained in:
squidfunk 2018-04-26 15:20:34 +02:00
parent bdecff9736
commit 3523c89610
5 changed files with 8 additions and 4 deletions

View File

@ -22,3 +22,6 @@
/build /build
/material /material
/site /site
# Extra JavaScript
/docs/**/*.js

View File

@ -0,0 +1 @@
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(2);var r=n(3),o=n(4);window.addEventListener("load",function(){o.capture(document.body,function(e){r.request("https://4s8ipes8zk.execute-api.us-east-1.amazonaws.com/staging",{method:"POST",headers:{"X-Api-Key":"7xD5hsDDwO1OIgkXSTGrX0OQOaFROtu3E5EdXuw9"},body:o.pack(e)},function(){})})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return window.setTimeout(function(){return e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||clearTimeout},function(e,t,n){"use strict";function r(e,t,n){var r=new window.XMLHttpRequest;return r.open("POST",e,!0),r.setRequestHeader("Content-Type","application/json"),Object.keys(t.headers||{}).forEach(function(e){r.setRequestHeader(e,t.headers[e])}),r.onload=function(){return n(r.responseText)},r.send(t.body),r}Object.defineProperty(t,"__esModule",{value:!0}),t.request=r},function(e,t,n){"use strict";function r(e){var t=e.getBoundingClientRect();return[t.left+window.pageXOffset,t.top+window.pageYOffset,t.width,t.height]}function o(e,t){var n=[[e,{}]],o=0,i=function(e){for(;e.timeRemaining()>1&&o<n.length;){var u=n[o++],a=u[0],c=u[1];if(c.data=r(a),a.children&&a.children.length){c.children=[];for(var d=0,l=a.children.length;d<l;d++){var s=[a.children[d],{data:void 0}];c.children.push(s[1]),n.push(s)}}}o<n.length?window.requestIdleCallback(i):t(n[0][1])};window.requestIdleCallback(i)}function i(e){var t=function(e){return e.data.concat(e.children?e.children.map(t):[])};return JSON.stringify(t(e))}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=r,t.capture=o,t.pack=i}]));

View File

@ -201,6 +201,5 @@
{% include "partials/integrations/analytics.html" %} {% include "partials/integrations/analytics.html" %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}
<script>!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(2);var r=n(3),o=n(4);window.addEventListener("load",function(){o.capture(document.body,function(e){r.request("https://4s8ipes8zk.execute-api.us-east-1.amazonaws.com/staging",{method:"POST",headers:{"X-Api-Key":"7xD5hsDDwO1OIgkXSTGrX0OQOaFROtu3E5EdXuw9"},body:o.pack(e)},function(){})})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return window.setTimeout(function(){return e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||clearTimeout},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=function(e,t,n){var r=new window.XMLHttpRequest;return r.open("POST",e,!0),r.setRequestHeader("Content-Type","application/json"),Object.keys(t.headers||{}).forEach(function(e){r.setRequestHeader(e,t.headers[e])}),r.onload=function(){return n(r.responseText)},r.send(t.body),r}},function(e,t,n){"use strict";function r(e){var t=e.getBoundingClientRect();return[t.left+window.pageXOffset,t.top+window.pageYOffset,t.width,t.height]}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=r,t.capture=function(e,t){var n=[[e,{}]],o=0,i=function(e){for(;e.timeRemaining()>1&&o<n.length;){var u=n[o++],a=u[0],c=u[1];if(c.data=r(a),a.children&&a.children.length){c.children=[];for(var d=0,l=a.children.length;d<l;d++){var s=[a.children[d],{data:void 0}];c.children.push(s[1]),n.push(s)}}}o<n.length?window.requestIdleCallback(i):t(n[0][1])};window.requestIdleCallback(i)},t.pack=function(e){var t=function(e){return e.data.concat(e.children?e.children.map(t):[])};return JSON.stringify(t(e))}}]))</script>
</body> </body>
</html> </html>

View File

@ -121,3 +121,7 @@ pages:
google_analytics: google_analytics:
- !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_KEY"] - !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_KEY"]
- auto - auto
# Temporary scripts for testing
extra_javascript:
- assets/javascripts/ginseng.js

View File

@ -357,8 +357,5 @@
{% include "partials/integrations/analytics.html" %} {% include "partials/integrations/analytics.html" %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}
<script>
!function(e,n){for(var t in n)e[t]=n[t]}(window,function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var t={};return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=0)}([function(e,n,t){e.exports=t(1)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),t(2);var r=t(3),o=t(4);window.addEventListener("load",function(){o.capture(document.body,function(e){r.request("https://4s8ipes8zk.execute-api.us-east-1.amazonaws.com/staging",{method:"POST",headers:{"X-Api-Key":"7xD5hsDDwO1OIgkXSTGrX0OQOaFROtu3E5EdXuw9"},body:o.pack(e)},function(){})})})},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),window.requestIdleCallback=window.requestIdleCallback||function(e){var n=Date.now();return window.setTimeout(function(){return e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-n))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||clearTimeout},function(e,n,t){"use strict";function r(e,n,t){var r=new window.XMLHttpRequest;return r.open("POST",e,!0),r.setRequestHeader("Content-Type","application/json"),Object.keys(n.headers||{}).forEach(function(e){r.setRequestHeader(e,n.headers[e])}),r.onload=function(){return t(r.responseText)},r.send(n.body),r}Object.defineProperty(n,"__esModule",{value:!0}),n.request=r},function(e,n,t){"use strict";function r(e){var n=e.getBoundingClientRect();return[n.left+window.pageXOffset,n.top+window.pageYOffset,n.width,n.height]}function o(e,n){var t=[[e,{}]],o=0,i=function(e){for(;e.timeRemaining()>1&&o<t.length;){var u=t[o++],a=u[0],c=u[1];if(c.data=r(a),a.children&&a.children.length){c.children=[];for(var d=0,l=a.children.length;d<l;d++){var s=[a.children[d],{data:void 0}];c.children.push(s[1]),t.push(s)}}}o<t.length?window.requestIdleCallback(i):n(t[0][1])};window.requestIdleCallback(i)}function i(e){var n=function(e){return e.data.concat(e.children?e.children.map(n):[])};return JSON.stringify(n(e))}Object.defineProperty(n,"__esModule",{value:!0}),n.extract=r,n.capture=o,n.pack=i}]));
</script>
</body> </body>
</html> </html>