Skip to content

Commit cbe4be2

Browse files
author
Kent C. Dodds
committed
chore(index): Add track.js support
1 parent 43fd07a commit cbe4be2

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

index.html

+4-8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
<meta name="author" content="Kent C. Dodds" />
99
<meta name="keywords" content="angular forms,angularjs forms,json forms,angularjs json forms,angular-formly," />
1010
<meta name="description" content="angular-formly: JavaScript Powered Forms for AngularJS" />
11+
<!-- BEGIN TRACKJS -->
12+
<script type="text/javascript">window._trackJs = { token: 'cc1aefaac33f4c48a589ede51e0ee5de' };</script>
13+
<script type="text/javascript" src="https://d2zah9y47r7bi2.cloudfront.net/releases/current/tracker.js"></script>
14+
<!-- END TRACKJS -->
1115
<style>
1216
.ng-cloak {display: none;}
1317
body {"Helvetica Neue", Helvetica, Arial, sans-serif}
@@ -33,14 +37,6 @@ <h1>Angular Formly is loading...</h1>
3337

3438
<script src="bundle.js"></script>
3539

36-
<script>
37-
// make errors longer...
38-
window.onerror = function (errorMsg, url, lineNumber, columnNumber, errorObject) {
39-
if (/<omitted>/.test(errorMsg)) {
40-
console.error('Error: ' + errorObject ? errorObject.message : errorMsg);
41-
}
42-
};
43-
</script>
4440
<script>
4541
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
4642
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

0 commit comments

Comments
 (0)