Skip to content

Commit

Permalink
added missing semicolons to code, added google identification page, g…
Browse files Browse the repository at this point in the history
…oogle adwords remarketing tag
  • Loading branch information
manuelkiessling committed Aug 27, 2014
1 parent e3fb9e3 commit 0570931
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/application/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var server = require("./server");
var router = require("./router");
var requestHandlers = require("./requestHandlers");

var handle = {}
var handle = {};
handle["/"] = requestHandlers.start;
handle["/start"] = requestHandlers.start;
handle["/upload"] = requestHandlers.upload;
Expand Down
1 change: 1 addition & 0 deletions google00df7f164ac3953a.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-site-verification: google00df7f164ac3953a.html
19 changes: 18 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1748,6 +1748,7 @@ <h3>Routing to real request handlers</h3>
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();


// Disqus
var disqus_shortname = 'nodebeginner';
var disqus_identifier = 'nodebeginner-book';
Expand All @@ -1761,6 +1762,22 @@ <h3>Routing to real request handlers</h3>
// CSS browser select
function css_browser_selector(u){var ua=u.toLowerCase(),is=function(t){return ua.indexOf(t)>-1},g='gecko',w='webkit',s='safari',o='opera',m='mobile',h=document.documentElement,b=[(!(/opera|webtv/i.test(ua))&&/msie\s(\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?g+' ff2':is('firefox/3.5')?g+' ff3 ff3_5':is('firefox/3.6')?g+' ff3 ff3_6':is('firefox/3')?g+' ff3':is('gecko/')?g:is('opera')?o+(/version\/(\d+)/.test(ua)?' '+o+RegExp.$1:(/opera(\s|\/)(\d+)/.test(ua)?' '+o+RegExp.$2:'')):is('konqueror')?'konqueror':is('blackberry')?m+' blackberry':is('android')?m+' android':is('chrome')?w+' chrome':is('iron')?w+' iron':is('applewebkit/')?w+' '+s+(/version\/(\d+)/.test(ua)?' '+s+RegExp.$1:''):is('mozilla/')?g:'',is('j2me')?m+' j2me':is('iphone')?m+' iphone':is('ipod')?m+' ipod':is('ipad')?m+' ipad':is('mac')?'mac':is('darwin')?'mac':is('webtv')?'webtv':is('win')?'win'+(is('windows nt 6.0')?' vista':''):is('freebsd')?'freebsd':(is('x11')||is('linux'))?'linux':'','js'];c=b.join(' ');h.className+=' '+c;return c;};css_browser_selector(navigator.userAgent);
</script>
<script></script>

<script type="text/javascript">
// Google Adwords Remarketing
/* <![CDATA[ */
var google_conversion_id = 1018569018;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1018569018/?value=0&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

</body>
</html>

0 comments on commit 0570931

Please sign in to comment.