Skip to content

Commit

Permalink
added github fork me and GA code
Browse files Browse the repository at this point in the history
  • Loading branch information
johnculviner committed May 17, 2013
1 parent 7ad08ed commit 78d7a08
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
3 changes: 0 additions & 3 deletions demo/SurveyApp.Web/App/views/shell.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
<a data-bind="attr: { href: hash }, html: name"></a>
</li>
</ul>
<div class="pull-right">
<a href="http://github.com/johnculviner/FluentKnockoutHelpers">Source code</a>
</div>
<div class="loader pull-right" data-bind="css: { active: router.isNavigating }">
<i class="icon-spinner icon-2x icon-spin" ></i>
</div>
Expand Down
18 changes: 16 additions & 2 deletions demo/SurveyApp.Web/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,22 @@
<meta name="format-detection" content="telephone=no"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@Styles.Render(BundleConfig.Css.All)
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-41013106-1', 'apphb.com');
ga('send', 'pageview');
</script>
</head>
<body>
<a href="https://github.com/johnculviner/FluentKnockoutHelpers">
<img style="position: absolute; top: 0; right: 0; border: 0; z-index: 999" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub">
</a>
<div id="applicationHost">
<div class="splash">
<div class="message">
Expand All @@ -29,8 +43,8 @@

@if(HttpContext.Current.IsDebuggingEnabled) {
<script type="text/javascript"
src="~/App/durandal/amd/require.js"
data-main="@VirtualPathUtility.ToAbsolute("~/App/main")"></script>
src="~/App/durandal/amd/require.js"
data-main="@VirtualPathUtility.ToAbsolute("~/App/main")"></script>
} else {
<script type="text/javascript" src="~/App/main-built.js"></script>
}
Expand Down

0 comments on commit 78d7a08

Please sign in to comment.