Commit c4f8bd2f authored by Jacob Durrant's avatar Jacob Durrant

Minor update.

parent 58195eb7
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -91,6 +91,6 @@
<script src="js/jsfile.4.babylonjs.materials.min.js"></script>
<script src="js/jsfile.5.babylon.gui.min.js"></script>
<script src="js/peer.min.js" async></script>
<script type="text/javascript" src="runtime.3f41f9afe78453dc3ff2.js"></script><script type="text/javascript" src="vendors.3f41f9afe78453dc3ff2.js"></script><script type="text/javascript" src="app.3f41f9afe78453dc3ff2.js"></script></body>
<script type="text/javascript" src="runtime.b245b6ae0f20097bad1e.js"></script><script type="text/javascript" src="vendors.b245b6ae0f20097bad1e.js"></script><script type="text/javascript" src="app.b245b6ae0f20097bad1e.js"></script></body>
</html>
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");importScripts("precache-manifest.2c864dfdc2426ab470df6f66f95e5fe8.js");workbox.core.skipWaiting();workbox.core.clientsClaim();self.__precacheManifest=[].concat(self.__precacheManifest||[]);workbox.precaching.precacheAndRoute(self.__precacheManifest,{});workbox.routing.registerRoute(/\./,new workbox.strategies.NetworkFirst,"GET");
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");importScripts("precache-manifest.3f6c6b4a97deac8f48db843e8cf8d229.js");workbox.core.skipWaiting();workbox.core.clientsClaim();self.__precacheManifest=[].concat(self.__precacheManifest||[]);workbox.precaching.precacheAndRoute(self.__precacheManifest,{});workbox.routing.registerRoute(/\./,new workbox.strategies.NetworkFirst,"GET");
No preview for this file type
......@@ -57,12 +57,19 @@ if (window.location.href.indexOf("durrantlab") !== -1) {
'name': 'proteinvr'
});
// Remove anything after "?" (to avoid identifying what users are
// specifically looking at).
let eventLabel = window.location.href;
if (eventLabel.indexOf("?") !== -1) {
eventLabel = eventLabel.split("?")[0] + "?PARAMS_REMOVED"
}
// UA-144382730-1 reports to pcaviz account.
ga('proteinvr.send', {
"hitType": 'event',
"eventCategory": 'proteinvr',
"eventAction": 'pageview',
"eventLabel": window.location.href
"eventLabel": eventLabel
});
}, 0)
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment