Skip to content

Commit 433da6d

Browse files
committed
feat: Add page analytics
1 parent e86a8e4 commit 433da6d

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

build/asset-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"static/js/2.4070f991.chunk.js": "/static/js/2.4070f991.chunk.js",
99
"static/js/2.4070f991.chunk.js.map": "/static/js/2.4070f991.chunk.js.map",
1010
"index.html": "/index.html",
11-
"precache-manifest.f456d5cb40ceb0ff5e090af78ecbf176.js": "/precache-manifest.f456d5cb40ceb0ff5e090af78ecbf176.js",
11+
"precache-manifest.96934c61ad72a39de9d0a56832ab0c27.js": "/precache-manifest.96934c61ad72a39de9d0a56832ab0c27.js",
1212
"service-worker.js": "/service-worker.js",
1313
"static/css/main.7cc9301b.chunk.css.map": "/static/css/main.7cc9301b.chunk.css.map",
1414
"static/js/2.4070f991.chunk.js.LICENSE": "/static/js/2.4070f991.chunk.js.LICENSE"

build/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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="IBM Watson Speech to Text is a cloud-native API that transforms voice into written text"/><link rel="manifest" href="/manifest.json"/><title>Speech to Text</title><link href="/static/css/main.7cc9301b.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(i){function e(e){for(var t,r,n=e[0],o=e[1],u=e[2],a=0,p=[];a<n.length;a++)r=n[a],Object.prototype.hasOwnProperty.call(c,r)&&c[r]&&p.push(c[r][0]),c[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(i[t]=o[t]);for(s&&s(e);p.length;)p.shift()();return f.push.apply(f,u||[]),l()}function l(){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!==c[u]&&(n=!1)}n&&(f.splice(t--,1),e=a(a.s=r[0]))}return e}var r={},c={1:0},f=[];function a(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=i,a.c=r,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(r,n,function(e){return t[e]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/";var t=this["webpackJsonp@ibm-watson/speech-to-text-code-pattern"]=this["webpackJsonp@ibm-watson/speech-to-text-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;l()}([])</script><script src="/static/js/2.4070f991.chunk.js"></script><script src="/static/js/main.a33677a6.chunk.js"></script></body></html>
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="IBM Watson Speech to Text is a cloud-native API that transforms voice into written text"/><link rel="manifest" href="/manifest.json"/><title>Speech to Text</title><link href="/static/css/main.7cc9301b.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(i){function e(e){for(var t,r,n=e[0],o=e[1],u=e[2],a=0,p=[];a<n.length;a++)r=n[a],Object.prototype.hasOwnProperty.call(c,r)&&c[r]&&p.push(c[r][0]),c[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(i[t]=o[t]);for(s&&s(e);p.length;)p.shift()();return f.push.apply(f,u||[]),l()}function l(){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!==c[u]&&(n=!1)}n&&(f.splice(t--,1),e=a(a.s=r[0]))}return e}var r={},c={1:0},f=[];function a(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=i,a.c=r,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(r,n,function(e){return t[e]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/";var t=this["webpackJsonp@ibm-watson/speech-to-text-code-pattern"]=this["webpackJsonp@ibm-watson/speech-to-text-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;l()}([])</script><script src="/static/js/2.4070f991.chunk.js"></script><script src="/static/js/main.a33677a6.chunk.js"></script></body></html>

build/precache-manifest.f456d5cb40ceb0ff5e090af78ecbf176.js renamed to build/precache-manifest.96934c61ad72a39de9d0a56832ab0c27.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
self.__precacheManifest = (self.__precacheManifest || []).concat([
22
{
3-
"revision": "43c85ab3ef2598e1dcd7623e605f854f",
3+
"revision": "fe12d693fd5c2f20a2c6111f5156d04b",
44
"url": "/index.html"
55
},
66
{

build/service-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
1515

1616
importScripts(
17-
"/precache-manifest.f456d5cb40ceb0ff5e090af78ecbf176.js"
17+
"/precache-manifest.96934c61ad72a39de9d0a56832ab0c27.js"
1818
);
1919

2020
self.addEventListener('message', (event) => {

public/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
To begin the development, run `npm start` or `yarn start`.
3939
To create a production bundle, use `npm run build` or `yarn build`.
4040
-->
41-
</body>
41+
<script type="text/javascript"
42+
src="https://cdn.rawgit.com/watson-developer-cloud/watson-developer-cloud.github.io/master/analytics.js" />
43+
</body>
4244

4345
</html>

0 commit comments

Comments
 (0)