Skip to content

Commit

Permalink
refactor: use hooks script for analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
mamoonraja committed Jan 21, 2020
1 parent 8827f84 commit 562efc3
Show file tree
Hide file tree
Showing 15 changed files with 51 additions and 61 deletions.
8 changes: 4 additions & 4 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"files": {
"main.css": "/static/css/main.b357d245.chunk.css",
"main.js": "/static/js/main.63e16f74.chunk.js",
"main.js.map": "/static/js/main.63e16f74.chunk.js.map",
"main.js": "/static/js/main.61f417ab.chunk.js",
"main.js.map": "/static/js/main.61f417ab.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.52a78ae3.js",
"runtime-main.js.map": "/static/js/runtime-main.52a78ae3.js.map",
"static/js/2.f3856bd2.chunk.js": "/static/js/2.f3856bd2.chunk.js",
"static/js/2.f3856bd2.chunk.js.map": "/static/js/2.f3856bd2.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.4df557ba9c167e0e22e6f4fa33d0c690.js": "/precache-manifest.4df557ba9c167e0e22e6f4fa33d0c690.js",
"precache-manifest.5d140d7f91c9496b466e4d7fe645d3d1.js": "/precache-manifest.5d140d7f91c9496b466e4d7fe645d3d1.js",
"service-worker.js": "/service-worker.js",
"static/css/main.b357d245.chunk.css.map": "/static/css/main.b357d245.chunk.css.map",
"static/js/2.f3856bd2.chunk.js.LICENSE": "/static/js/2.f3856bd2.chunk.js.LICENSE"
Expand All @@ -17,6 +17,6 @@
"static/js/runtime-main.52a78ae3.js",
"static/js/2.f3856bd2.chunk.js",
"static/css/main.b357d245.chunk.css",
"static/js/main.63e16f74.chunk.js"
"static/js/main.61f417ab.chunk.js"
]
}
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="The Visual Recognition service uses deep learning algorithms to analyze images for scenes, objects, text, and other subjects."/><link rel="apple-touch-icon" href="/public/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Visual Recognition</title><link href="/static/css/main.b357d245.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="https://cdn.rawgit.com/watson-developer-cloud/watson-developer-cloud.github.io/master/analytics.js"/><script>!function(l){function e(e){for(var t,r,n=e[0],o=e[1],u=e[2],i=0,a=[];i<n.length;i++)r=n[i],Object.prototype.hasOwnProperty.call(p,r)&&p[r]&&a.push(p[r][0]),p[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(l[t]=o[t]);for(s&&s(e);a.length;)a.shift()();return f.push.apply(f,u||[]),c()}function c(){for(var e,t=0;t<f.length;t++){for(var r=f[t],n=!0,o=1;o<r.length;o++){var u=r[o];0!==p[u]&&(n=!1)}n&&(f.splice(t--,1),e=i(i.s=r[0]))}return e}var r={},p={1:0},f=[];function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return l[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=l,i.c=r,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(r,n,function(e){return t[e]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/";var t=this["webpackJsonp@ibm-watson/visual-recognition-code-pattern"]=this["webpackJsonp@ibm-watson/visual-recognition-code-pattern"]||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var o=0;o<t.length;o++)e(t[o]);var s=n;c()}([])</script><script src="/static/js/2.f3856bd2.chunk.js"></script><script src="/static/js/main.63e16f74.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="The Visual Recognition service uses deep learning algorithms to analyze images for scenes, objects, text, and other subjects."/><link rel="apple-touch-icon" href="/public/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Visual Recognition</title><link href="/static/css/main.b357d245.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(l){function e(e){for(var t,r,n=e[0],o=e[1],u=e[2],i=0,a=[];i<n.length;i++)r=n[i],Object.prototype.hasOwnProperty.call(p,r)&&p[r]&&a.push(p[r][0]),p[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(l[t]=o[t]);for(s&&s(e);a.length;)a.shift()();return f.push.apply(f,u||[]),c()}function c(){for(var e,t=0;t<f.length;t++){for(var r=f[t],n=!0,o=1;o<r.length;o++){var u=r[o];0!==p[u]&&(n=!1)}n&&(f.splice(t--,1),e=i(i.s=r[0]))}return e}var r={},p={1:0},f=[];function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return l[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=l,i.c=r,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(r,n,function(e){return t[e]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/";var t=this["webpackJsonp@ibm-watson/visual-recognition-code-pattern"]=this["webpackJsonp@ibm-watson/visual-recognition-code-pattern"]||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var o=0;o<t.length;o++)e(t[o]);var s=n;c()}([])</script><script src="/static/js/2.f3856bd2.chunk.js"></script><script src="/static/js/main.61f417ab.chunk.js"></script></body></html>
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "f1df6cd937096cc885257f968f1bcc11",
"revision": "3f37104934cf407ed9018a902566f671",
"url": "/index.html"
},
{
"revision": "047d301e496bf7329a8e",
"revision": "f339e4ee0d05df38b0bb",
"url": "/static/css/main.b357d245.chunk.css"
},
{
Expand All @@ -16,8 +16,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/js/2.f3856bd2.chunk.js.LICENSE"
},
{
"revision": "047d301e496bf7329a8e",
"url": "/static/js/main.63e16f74.chunk.js"
"revision": "f339e4ee0d05df38b0bb",
"url": "/static/js/main.61f417ab.chunk.js"
},
{
"revision": "d996e3999a440231bd2a",
Expand Down
2 changes: 1 addition & 1 deletion build/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"/precache-manifest.4df557ba9c167e0e22e6f4fa33d0c690.js"
"/precache-manifest.5d140d7f91c9496b466e4d7fe645d3d1.js"
);

self.addEventListener('message', (event) => {
Expand Down
2 changes: 2 additions & 0 deletions build/static/js/main.61f417ab.chunk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/static/js/main.61f417ab.chunk.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 562efc3

Please sign in to comment.