highlight.run
Advanced tools
Comparing version 1.0.21 to 1.0.22
@@ -9,2 +9,2 @@ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.$=t():e.$=t()}(window,(function(){return function(e){var t={};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}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return 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,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/index.tsx")}({"./node_modules/process/browser.js": | ||
\***********************/ | ||
/*! exports provided: H */function(e,t,n){"use strict";n.r(t),function(e){var r;n.d(t,"H",(function(){return u})),console.log("firstload_env: ","development");var o,i=document.createElement("script"),u={init:function(e,t){void 0===t&&(t=!1),i.addEventListener("load",(function(){(r=new window.Highlight(t)).initialize(e)}))},identify:function(e,t){u.onHighlightReady((function(){return r.identify(e,t)}))},onHighlightReady:function(e){var t=setInterval((function(){r&&r.ready&&(clearInterval(t),e())}),200)}};window.H=u,o=window._h_script?window._h_script:e.env.REACT_APP_H_SCRIPT?e.env.REACT_APP_H_SCRIPT:"https://static.highlight.run/index.js",i.setAttribute("src",o+"?"+(new Date).getMilliseconds()),i.setAttribute("type","text/javascript"),document.getElementsByTagName("head")[0].appendChild(i)}.call(this,n(/*! ./../node_modules/process/browser.js */"./node_modules/process/browser.js"))}})})); | ||
/*! exports provided: H */function(e,t,n){"use strict";n.r(t),function(e){var r;n.d(t,"H",(function(){return u})),console.log("firstload_env: ","development"),console.log("src: ","https://static.highlight.run/index.js");var o,i=document.createElement("script"),u={init:function(e,t){void 0===t&&(t=!1),i.addEventListener("load",(function(){(r=new window.Highlight(t)).initialize(e)}))},identify:function(e,t){u.onHighlightReady((function(){return r.identify(e,t)}))},onHighlightReady:function(e){var t=setInterval((function(){r&&r.ready&&(clearInterval(t),e())}),200)}};window.H=u,o=window._h_script?window._h_script:e.env.REACT_APP_H_SCRIPT?e.env.REACT_APP_H_SCRIPT:"https://static.highlight.run/index.js",i.setAttribute("src",o+"?"+(new Date).getMilliseconds()),i.setAttribute("type","text/javascript"),document.getElementsByTagName("head")[0].appendChild(i)}.call(this,n(/*! ./../node_modules/process/browser.js */"./node_modules/process/browser.js"))}})})); |
{ | ||
"name": "highlight.run", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "webpack", |
@@ -39,2 +39,7 @@ const path = require('path'); | ||
devtool: 'sourceMap', | ||
plugins: [ | ||
new webpack.EnvironmentPlugin({ | ||
HIGHLIGHT_SCRIPT_SRC: 'https://static.highlight.run/index.js', | ||
}), | ||
], | ||
}; |
Sorry, the diff of this file is not supported yet
7857
134