Skip to content

Commit b1ba73b

Browse files
author
Vikas Agarwal
committed
Disabled lint checking for Heap Analytics script
1 parent 69d9634 commit b1ba73b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ const onRouteChange = () => {
1515
TCEmitter.emit(EVENT_ROUTE_CHANGE, window.location.pathname)
1616
}
1717

18+
/* eslint-disable */
1819
window.heap=window.heap||[],heap.load=function(e,t){window.heap.appid=e,window.heap.config=t=t||{};var r=t.forceSSL||"https:"===document.location.protocol,a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=(r?"https:":"http:")+"//cdn.heapanalytics.com/js/heap-"+e+".js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n);for(var o=function(e){return function(){heap.push([e].concat(Array.prototype.slice.call(arguments,0)))}},p=["addEventProperties","addUserProperties","clearEventProperties","identify","removeEventProperty","setEventProperties","track","unsetEventProperty"],c=0;c<p.length;c++)heap[p[c]]=o(p[c])};
1920
heap.load(HEAP_ANALYTICS_APP_ID);
21+
/* eslint-enable */
2022

2123
render((
2224
<Provider store={store}>

0 commit comments

Comments
 (0)