diff --git a/README.md b/README.md index 8193da1..d7ca432 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ Just copy the format from any of the existing packages. It's like this: title: Node.js homepage: https://nodejs.org tagline: | - JavaScript V8 runtime + JavaScript V8 runtime description: | Node.jsĀ® is a JavaScript runtime built on Chrome's V8 JavaScript engine --- diff --git a/_webi/frontmarker.js b/_webi/frontmarker.js index ca56721..f7e2b27 100644 --- a/_webi/frontmarker.js +++ b/_webi/frontmarker.js @@ -12,7 +12,6 @@ function parseYamlish(txt) { var block = false; var lines = txt.trim().split('\n'); - var moreRe = /\s+/; var last; if (frontmatter !== lines.shift()) { diff --git a/_webi/ua-detect.js b/_webi/ua-detect.js index 6b972cb..99addd2 100644 --- a/_webi/ua-detect.js +++ b/_webi/ua-detect.js @@ -1,5 +1,7 @@ 'use strict'; +var uaDetect = module.exports; + function getRequest(req) { var ua = req.headers['user-agent'] || ''; var os = req.query.os; @@ -82,7 +84,6 @@ function getArch(ua) { } } -var uaDetect = module.exports; uaDetect.os = getOs; uaDetect.arch = getArch; uaDetect.request = getRequest;