diff --git a/code/application/index.js b/code/application/index.js index 4480f0b..983f74a 100644 --- a/code/application/index.js +++ b/code/application/index.js @@ -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; diff --git a/google00df7f164ac3953a.html b/google00df7f164ac3953a.html new file mode 100644 index 0000000..5f18f26 --- /dev/null +++ b/google00df7f164ac3953a.html @@ -0,0 +1 @@ +google-site-verification: google00df7f164ac3953a.html \ No newline at end of file diff --git a/index.html b/index.html index 6778a44..76b81a1 100644 --- a/index.html +++ b/index.html @@ -1748,6 +1748,7 @@

Routing to real request handlers

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); + // Disqus var disqus_shortname = 'nodebeginner'; var disqus_identifier = 'nodebeginner-book'; @@ -1761,6 +1762,22 @@

Routing to real request handlers

// 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); - + + + + +