Skip to content

Commit

Permalink
Add Google Analytics code. Added empty starter Microsoft script (unus…
Browse files Browse the repository at this point in the history
…ed atm).
  • Loading branch information
codedread committed Aug 30, 2014
1 parent b0e890a commit 7e063f9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,13 @@ <h1>Keyboard Shortcuts</h1>
</dl>
</div>
</body>
<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-8244614-4', 'auto');
ga('send', 'pageview');
</script>
</html>
18 changes: 18 additions & 0 deletions kthoom-microsoft.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* Code for handling file access through Microsoft OneDrive.
*/

// http://msdn.microsoft.com/en-us/library/dn659750.aspx
// http://msdn.microsoft.com/en-us/library/hh550837.aspx
// WL.init() http://msdn.microsoft.com/en-us/library/hh550844.aspx
// WL.login() http://msdn.microsoft.com/en-us/library/hh550845.aspx
// Picker: http://msdn.microsoft.com/en-us/library/windows/apps/jj219328.aspx
// and http://msdn.microsoft.com/en-us/library/windows/apps/jj219328.aspx#Display_the_file_picker__directly_by_calling_the_WL.fileDialog_method

if (window.kthoom == undefined) {
window.kthoom = {};
}

kthoom.microsoft = {
authed: false,
};

0 comments on commit 7e063f9

Please sign in to comment.