diff options
author | isaacs <i@izs.me> | 2011-09-04 13:04:48 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-09-04 13:04:48 +0400 |
commit | 3edcd7183b9a1d5b5fb2739764eb2159c5df19e1 (patch) | |
tree | 4e0f1b07cbcbc9c3d43baa2fdaaf6771667765b5 | |
parent | 199cb3473a84b447c538b1fd20109e58e7ac0417 (diff) |
Update title and footer comment:
61 files changed, 758 insertions, 644 deletions
@@ -64,7 +64,6 @@ html/doc/README.html: README.md html/dochead.html html/docfoot.html | perl -pi -e 's/<h1>npm(-?[^\(]*\([0-9]\)) -- (.*?)<\/h1>/<h1>npm\1<\/h1> <p>\2<\/p>/g' \ | perl -pi -e 's/npm-?([^\)]+)\(1\)/<a href="\1.html">npm \1<\/a>/g' \ | perl -pi -e 's/npm\(1\)/<a href="npm.html">npm<\/a>/g' \ - | perl -pi -e 's/npm\(1\)/<a href="npm.html">npm<\/a>/g' \ | perl -pi -e 's/README/<a href="README.html">README<\/a>/g' \ > $@ @@ -78,8 +77,7 @@ html/doc/%.html: doc/%.md html/dochead.html html/docfoot.html | sed 's|@NAME@|$*|g' \ | sed 's|@DATE@|$(shell date -u +'%Y-%M-%d %H:%m:%S')|g' \ | perl -pi -e 's/<h1>npm(-?[^\(]*\([0-9]\)) -- (.*?)<\/h1>/<h1>npm\1<\/h1> <p>\2<\/p>/g' \ - | perl -pi -e 's/npm-?([^\)]+)\(1\)/<a href="\1.html">npm \1<\/a>/g' \ - | perl -pi -e 's/npm\(1\)/<a href="npm.html">npm<\/a>/g' \ + | perl -pi -e 's/npm-?([^\)]*)\(1\)/<a href="\1.html">npm \1<\/a>/g' \ | perl -pi -e 's/npm\(1\)/<a href="npm.html">npm<\/a>/g' \ | perl -pi -e 's/README/<a href="README.html">README<\/a>/g' \ > $@ diff --git a/doc/npm.md b/doc/npm.md index 48fcf768a..e76e58e20 100644 --- a/doc/npm.md +++ b/doc/npm.md @@ -98,7 +98,7 @@ See `npm-config(1)` for much much more information. Patches welcome! * code: - Read through `npm-coding(1)-style` if you plan to submit code. + Read through `npm-coding-style(1)` if you plan to submit code. You don't have to agree with it, but you do have to follow it. * docs: If you find an error in the documentation, edit the appropriate markdown diff --git a/html/doc/adduser.html b/html/doc/adduser.html index 3705bd784..cdbddee59 100644 --- a/html/doc/adduser.html +++ b/html/doc/adduser.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-adduser</title> + <title>adduser</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -367,15 +367,18 @@ authorize on a new machine.</p> <p>The base URL of the npm package registry.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -391,7 +394,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help adduser - 2011-11-04 08:09:39 --> diff --git a/html/doc/author.html b/html/doc/author.html index 8a8b99d82..d9ee24341 100644 --- a/html/doc/author.html +++ b/html/doc/author.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-author</title> + <title>author</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -364,15 +364,18 @@ that is not implemented at this time.</p> <ul><li><a href="publish.html">npm publish</a></li><li><a href="registry.html">npm registry</a></li></ul> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -388,7 +391,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help author - 2011-11-04 08:09:39 --> diff --git a/html/doc/bin.html b/html/doc/bin.html index 7ba75b3fb..afe3582f8 100644 --- a/html/doc/bin.html +++ b/html/doc/bin.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-bin</title> + <title>bin</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -348,15 +348,18 @@ input.submit, input#submit, input.button, button, input[type=submit] { <p>Print the folder where npm will install executables.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -372,7 +375,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help bin - 2011-11-04 08:09:39 --> diff --git a/html/doc/build.html b/html/doc/build.html index f5347b75f..724ab3bef 100644 --- a/html/doc/build.html +++ b/html/doc/build.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-build</title> + <title>build</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -357,15 +357,18 @@ A folder containing a <code>package.json</code> file in its root.</li></ul> <ul><li><a href="install.html">npm install</a></li><li><a href="link.html">npm link</a></li><li><a href="scripts.html">npm scripts</a></li><li><a href="json.html">npm json</a></li></ul> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -381,7 +384,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help build - 2011-11-04 08:09:39 --> diff --git a/html/doc/bundle.html b/html/doc/bundle.html index 9857810ba..f1d956381 100644 --- a/html/doc/bundle.html +++ b/html/doc/bundle.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-bundle</title> + <title>bundle</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -348,15 +348,18 @@ install packages into the local space.</p> <p>Just use <code>npm install</code> now to do what <code>npm bundle</code> used to do.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -372,7 +375,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help bundle - 2011-11-04 08:09:39 --> diff --git a/html/doc/cache.html b/html/doc/cache.html index 257d5749c..a43ce063c 100644 --- a/html/doc/cache.html +++ b/html/doc/cache.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-cache</title> + <title>cache</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -392,15 +392,18 @@ they do not make an HTTP request to the registry.</p> <p>The root cache folder.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -416,7 +419,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help cache - 2011-11-04 08:09:40 --> diff --git a/html/doc/changelog.html b/html/doc/changelog.html index 043e710df..2176a3807 100644 --- a/html/doc/changelog.html +++ b/html/doc/changelog.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-changelog</title> + <title>changelog</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -362,15 +362,18 @@ input.submit, input#submit, input.button, button, input[type=submit] { <ul><li>Lots of sketches and false starts; abandoned a few times</li><li>Core functionality established</li></ul> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -386,7 +389,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help changelog - 2011-11-04 08:09:40 --> diff --git a/html/doc/coding-style.html b/html/doc/coding-style.html index 593ec02b8..57bfa0c8d 100644 --- a/html/doc/coding-style.html +++ b/html/doc/coding-style.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-coding-style</title> + <title>coding-style</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -519,15 +519,18 @@ set to anything."</p> <p>Boolean objects are verboten.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -543,7 +546,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help coding-style - 2011-30-04 08:09:01 --> diff --git a/html/doc/completion.html b/html/doc/completion.html index a154bc22c..bde192325 100644 --- a/html/doc/completion.html +++ b/html/doc/completion.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-completion</title> + <title>completion</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -359,15 +359,18 @@ environment, <code>npm completion</code> acts in "plumbing mode", and outputs completions based on the arguments.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -383,7 +386,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help completion - 2011-11-04 08:09:40 --> diff --git a/html/doc/config.html b/html/doc/config.html index f12093b00..a94e8a249 100644 --- a/html/doc/config.html +++ b/html/doc/config.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-config</title> + <title>config</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -858,15 +858,18 @@ circumstances.</p> then answer "no" to any prompt.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -882,7 +885,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help config - 2011-30-04 08:09:01 --> diff --git a/html/doc/deprecate.html b/html/doc/deprecate.html index ef53d8782..343c2a90f 100644 --- a/html/doc/deprecate.html +++ b/html/doc/deprecate.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-deprecate</title> + <title>deprecate</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -357,15 +357,18 @@ something like this:</p> <code>owner</code> and <code>adduser</code> help topics.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -381,7 +384,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help deprecate - 2011-11-04 08:09:41 --> diff --git a/html/doc/developers.html b/html/doc/developers.html index 79f4f0a4d..c6687dffd 100644 --- a/html/doc/developers.html +++ b/html/doc/developers.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-developers</title> + <title>developers</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -478,15 +478,18 @@ from a fresh checkout.</p> <p>Tell the world how easy it is to install your program!</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -502,7 +505,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help developers - 2011-30-04 08:09:01 --> diff --git a/html/doc/docs.html b/html/doc/docs.html index 948c780d6..42e27714b 100644 --- a/html/doc/docs.html +++ b/html/doc/docs.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-docs</title> + <title>docs</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -351,15 +351,18 @@ documentation URL, and then tries to open it using the <code>--browser</code> config param.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -375,7 +378,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help docs - 2011-11-04 08:09:41 --> diff --git a/html/doc/edit.html b/html/doc/edit.html index c38a24a60..2d7f19e98 100644 --- a/html/doc/edit.html +++ b/html/doc/edit.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-edit</title> + <title>edit</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -356,15 +356,18 @@ into your package, and then <code>npm edit connect</code> to make a few changes to your locally installed copy.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -380,7 +383,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help edit - 2011-30-04 08:09:01 --> diff --git a/html/doc/explore.html b/html/doc/explore.html index c4a9d6ab4..a4da039ef 100644 --- a/html/doc/explore.html +++ b/html/doc/explore.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-explore</title> + <title>explore</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -354,15 +354,18 @@ immediately terminates.</p> sure to use <code>npm rebuild <pkg></code> if you make any changes.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -378,7 +381,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help explore - 2011-11-04 08:09:41 --> diff --git a/html/doc/faq.html b/html/doc/faq.html index fb212261a..3732a8c54 100644 --- a/html/doc/faq.html +++ b/html/doc/faq.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-faq</title> + <title>faq</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -528,15 +528,18 @@ We'll have someone kick it or something.</p> <p>npm is not capable of hatred. It loves everyone, especially you.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -552,7 +555,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help faq - 2011-30-04 08:09:01 --> diff --git a/html/doc/folders.html b/html/doc/folders.html index 8879c2e8a..851c13e88 100644 --- a/html/doc/folders.html +++ b/html/doc/folders.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-folders</title> + <title>folders</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -519,15 +519,18 @@ not be included in the package tarball.</p> cannot be found elsewhere. See <code><a href="json.html">npm json</a></code> for more information.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -543,7 +546,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help folders - 2011-30-04 08:09:02 --> diff --git a/html/doc/get.html b/html/doc/get.html index f4bb59905..315baea44 100644 --- a/html/doc/get.html +++ b/html/doc/get.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-get</title> + <title>get</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -858,15 +858,18 @@ circumstances.</p> then answer "no" to any prompt.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -882,7 +885,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help get - 2011-30-04 08:09:02 --> diff --git a/html/doc/global.html b/html/doc/global.html index 1ea055322..ac4057bf5 100644 --- a/html/doc/global.html +++ b/html/doc/global.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-global</title> + <title>global</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -519,15 +519,18 @@ not be included in the package tarball.</p> cannot be found elsewhere. See <code><a href="json.html">npm json</a></code> for more information.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -543,7 +546,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help global - 2011-30-04 08:09:02 --> diff --git a/html/doc/help-search.html b/html/doc/help-search.html index 94ac8799b..f77fe52e8 100644 --- a/html/doc/help-search.html +++ b/html/doc/help-search.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-help-search</title> + <title>help-search</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -366,15 +366,18 @@ where the terms were found in the documentation.</p> <p>If false, then help-search will just list out the help topics found.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -390,7 +393,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help help-search - 2011-30-04 08:09:02 --> diff --git a/html/doc/home.html b/html/doc/home.html index 0aa1b5cc6..733eab264 100644 --- a/html/doc/home.html +++ b/html/doc/home.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-home</title> + <title>home</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -351,15 +351,18 @@ documentation URL, and then tries to open it using the <code>--browser</code> config param.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -375,7 +378,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help home - 2011-11-04 08:09:43 --> diff --git a/html/doc/init.html b/html/doc/init.html index a69c24cf0..1228c1e5c 100644 --- a/html/doc/init.html +++ b/html/doc/init.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-init</title> + <title>init</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -361,15 +361,18 @@ without a really good reason to do so.</p> <p><a href="json.html">npm json</a></p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -385,7 +388,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help init - 2011-11-04 08:09:43 --> diff --git a/html/doc/install.html b/html/doc/install.html index 57c7ba351..2fc8f85ef 100644 --- a/html/doc/install.html +++ b/html/doc/install.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-install</title> + <title>install</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -411,15 +411,18 @@ effect on installation, since that's most of what npm does.</p> <ul><li><a href="config.html">npm config</a></li><li><a href="build.html">npm build</a></li><li><a href="registry.html">npm registry</a></li><li><a href="build.html">npm build</a></li><li><a href="link.html">npm link</a></li><li><a href="folders.html">npm folders</a></li><li><a href="tag.html">npm tag</a></li></ul> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -435,7 +438,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help install - 2011-30-04 08:09:02 --> diff --git a/html/doc/json.html b/html/doc/json.html index 3960a60e3..bd33d3319 100644 --- a/html/doc/json.html +++ b/html/doc/json.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-json</title> + <title>json</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -753,15 +753,18 @@ the global public registry by default.</p> overridden.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -777,7 +780,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help json - 2011-30-04 08:09:02 --> diff --git a/html/doc/link.html b/html/doc/link.html index ad30aaaef..4c4723b30 100644 --- a/html/doc/link.html +++ b/html/doc/link.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-link</title> + <title>link</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -386,15 +386,18 @@ npm link redis</code></pre> installation target into your project's <code>node_modules</code> folder.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -410,7 +413,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help link - 2011-11-04 08:09:44 --> diff --git a/html/doc/list.html b/html/doc/list.html index 521956576..4e9fe6b71 100644 --- a/html/doc/list.html +++ b/html/doc/list.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-list</title> + <title>list</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -380,15 +380,18 @@ like with any other command, such as <code>-g</code> to list global packages.</p project.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -404,7 +407,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help list - 2011-11-04 08:09:44 --> diff --git a/html/doc/ln.html b/html/doc/ln.html index ee0906114..fbaed5333 100644 --- a/html/doc/ln.html +++ b/html/doc/ln.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-ln</title> + <title>ln</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -386,15 +386,18 @@ npm link redis</code></pre> installation target into your project's <code>node_modules</code> folder.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -410,7 +413,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help ln - 2011-11-04 08:09:44 --> diff --git a/html/doc/ls.html b/html/doc/ls.html index e86d8dc75..840d0d536 100644 --- a/html/doc/ls.html +++ b/html/doc/ls.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-ls</title> + <title>ls</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -380,15 +380,18 @@ like with any other command, such as <code>-g</code> to list global packages.</p project.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -404,7 +407,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help ls - 2011-11-04 08:09:45 --> diff --git a/html/doc/npm.html b/html/doc/npm.html index ca240af2e..eb9b17ec0 100644 --- a/html/doc/npm.html +++ b/html/doc/npm.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-npm</title> + <title>npm</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -337,7 +337,7 @@ input.submit, input#submit, input.button, button, input[type=submit] { <body> <div id="wrapper"> -<h1><a href="npm.html">npm</a></h1> <p>node package manager</p> +<h1><a href=".html">npm </a></h1> <p>node package manager</p> <h2 id="SYNOPSIS">SYNOPSIS</h2> @@ -420,7 +420,7 @@ lib/utils/config-defs.js. These must not be changed.</li></ul> <p>Patches welcome!</p> <ul><li>code: -Read through <code><a href="coding.html">npm coding</a>-style</code> if you plan to submit code. +Read through <code><a href="coding-style.html">npm coding-style</a></code> if you plan to submit code. You don't have to agree with it, but you do have to follow it.</li><li>docs: If you find an error in the documentation, edit the appropriate markdown file in the "doc" folder. (Don't worry about generating the man page.)</li></ul> @@ -459,15 +459,18 @@ will no doubt tell you to put the output in a gist or email.</p> <a href="mailto:i@izs.me">i@izs.me</a></p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -483,7 +486,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help npm - 2011-30-04 08:09:02 --> diff --git a/html/doc/outdated.html b/html/doc/outdated.html index 7162a6987..212c971f4 100644 --- a/html/doc/outdated.html +++ b/html/doc/outdated.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-outdated</title> + <title>outdated</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -349,15 +349,18 @@ input.submit, input#submit, input.button, button, input[type=submit] { packages are currently outdated.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -373,7 +376,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help outdated - 2011-11-04 08:09:45 --> diff --git a/html/doc/owner.html b/html/doc/owner.html index ab481a4e8..7e38ba5ab 100644 --- a/html/doc/owner.html +++ b/html/doc/owner.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-owner</title> + <title>owner</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -364,15 +364,18 @@ that is not implemented at this time.</p> <ul><li><a href="publish.html">npm publish</a></li><li><a href="registry.html">npm registry</a></li></ul> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -388,7 +391,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help owner - 2011-11-04 08:09:45 --> diff --git a/html/doc/pack.html b/html/doc/pack.html index 51b244af7..b31d629e9 100644 --- a/html/doc/pack.html +++ b/html/doc/pack.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-pack</title> + <title>pack</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -357,15 +357,18 @@ overwritten the second time.</p> <p>If no arguments are supplied, then npm packs the current package folder.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -381,7 +384,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help pack - 2011-11-04 08:09:46 --> diff --git a/html/doc/prefix.html b/html/doc/prefix.html index a7c44b5fc..911140c00 100644 --- a/html/doc/prefix.html +++ b/html/doc/prefix.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-prefix</title> + <title>prefix</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -348,15 +348,18 @@ input.submit, input#submit, input.button, button, input[type=submit] { <p>Print the prefix to standard out.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -372,7 +375,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help prefix - 2011-11-04 08:09:46 --> diff --git a/html/doc/prune.html b/html/doc/prune.html index 2b21587c3..88b56a422 100644 --- a/html/doc/prune.html +++ b/html/doc/prune.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-prune</title> + <title>prune</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -353,15 +353,18 @@ removed.</p> package's dependencies list.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -377,7 +380,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help prune - 2011-11-04 08:09:46 --> diff --git a/html/doc/publish.html b/html/doc/publish.html index 776389768..bfa5c751f 100644 --- a/html/doc/publish.html +++ b/html/doc/publish.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-publish</title> + <title>publish</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -361,15 +361,18 @@ the registry. Overwrites when the "--force" flag is set.</p> <ul><li><a href="registry.html">npm registry</a></li><li><a href="adduser.html">npm adduser</a></li><li><a href="owner.html">npm owner</a></li></ul> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -385,7 +388,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help publish - 2011-11-04 08:09:46 --> diff --git a/html/doc/rebuild.html b/html/doc/rebuild.html index c8438ab19..ed5c99930 100644 --- a/html/doc/rebuild.html +++ b/html/doc/rebuild.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-rebuild</title> + <title>rebuild</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -357,15 +357,18 @@ the new binary.</p> <p>See <code><a href="build.html">npm build</a></code></p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -381,7 +384,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help rebuild - 2011-30-04 08:09:03 --> diff --git a/html/doc/registry.html b/html/doc/registry.html index f6777aa71..d4cf2f2df 100644 --- a/html/doc/registry.html +++ b/html/doc/registry.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-registry</title> + <title>registry</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -425,15 +425,18 @@ ask for help on the <a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com <p>Stay tuned!</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -449,7 +452,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help registry - 2011-30-04 08:09:03 --> diff --git a/html/doc/removing-npm.html b/html/doc/removing-npm.html index 146bb1394..d554b78d7 100644 --- a/html/doc/removing-npm.html +++ b/html/doc/removing-npm.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-removing-npm</title> + <title>removing-npm</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -379,15 +379,18 @@ modules. To track those down, you can do the following:</p> <p>(This is also in the <a href="README.html">README</a> file.)</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -403,7 +406,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help removing-npm - 2011-45-04 08:09:05 --> diff --git a/html/doc/restart.html b/html/doc/restart.html index ad2cc846f..8fe0c271f 100644 --- a/html/doc/restart.html +++ b/html/doc/restart.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-restart</title> + <title>restart</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -356,15 +356,18 @@ the "start" script.</p> <ul><li><a href="start.html">npm start</a></li><li><a href="stop.html">npm stop</a></li></ul> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -380,7 +383,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help restart - 2011-11-04 08:09:47 --> diff --git a/html/doc/rm.html b/html/doc/rm.html index 34555c6dd..dfcddeb87 100644 --- a/html/doc/rm.html +++ b/html/doc/rm.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-rm</title> + <title>rm</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -349,15 +349,18 @@ npm rm <name></code></pre> <p>This uninstalls a package, completely removing everything installed for it.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -373,7 +376,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help rm - 2011-11-04 08:09:47 --> diff --git a/html/doc/root.html b/html/doc/root.html index e3953cd42..0d6ac8d63 100644 --- a/html/doc/root.html +++ b/html/doc/root.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-root</title> + <title>root</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -348,15 +348,18 @@ input.submit, input#submit, input.button, button, input[type=submit] { <p>Print the effective <code>node_modules</code> folder to standard out.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -372,7 +375,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help root - 2011-11-04 08:09:47 --> diff --git a/html/doc/run-script.html b/html/doc/run-script.html index e3eb7a8f2..9ecb52691 100644 --- a/html/doc/run-script.html +++ b/html/doc/run-script.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-run-script</title> + <title>run-script</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -355,15 +355,18 @@ called directly, as well.</p> <ul><li><a href="scripts.html">npm scripts</a></li><li><a href="test.html">npm test</a></li><li><a href="start.html">npm start</a></li><li><a href="restart.html">npm restart</a></li><li><a href="stop.html">npm stop</a></li></ul> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -379,7 +382,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help run-script - 2011-11-04 08:09:47 --> diff --git a/html/doc/scripts.html b/html/doc/scripts.html index b3cfa39e0..bc6726750 100644 --- a/html/doc/scripts.html +++ b/html/doc/scripts.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-scripts</title> + <title>scripts</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -493,15 +493,18 @@ required for some reason, then it'll fail with that error, and the user will sudo the npm command in question.</li></ul> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -517,7 +520,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help scripts - 2011-30-04 08:09:03 --> diff --git a/html/doc/search.html b/html/doc/search.html index 049251a97..c789b4e59 100644 --- a/html/doc/search.html +++ b/html/doc/search.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-search</title> + <title>search</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -348,15 +348,18 @@ input.submit, input#submit, input.button, button, input[type=submit] { <p>Search the registry for packages matching the search terms.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -372,7 +375,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help search - 2011-11-04 08:09:47 --> diff --git a/html/doc/semver.html b/html/doc/semver.html index baa30b333..7ea563e09 100644 --- a/html/doc/semver.html +++ b/html/doc/semver.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-semver</title> + <title>semver</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -428,15 +428,18 @@ range.</li><li>maxSatisfying(versions, range): Return the highest version in the that satisfies the range, or null if none of them do.</li></ul> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -452,7 +455,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help semver - 2011-11-04 08:09:48 --> diff --git a/html/doc/set.html b/html/doc/set.html index ff24dc292..5d9e58413 100644 --- a/html/doc/set.html +++ b/html/doc/set.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-set</title> + <title>set</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -858,15 +858,18 @@ circumstances.</p> then answer "no" to any prompt.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -882,7 +885,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help set - 2011-30-04 08:09:03 --> diff --git a/html/doc/start.html b/html/doc/start.html index f99e4938b..b8219fd6c 100644 --- a/html/doc/start.html +++ b/html/doc/start.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-start</title> + <title>start</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -348,15 +348,18 @@ input.submit, input#submit, input.button, button, input[type=submit] { <p>This runs a package's "start" script, if one was provided.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -372,7 +375,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help start - 2011-11-04 08:09:48 --> diff --git a/html/doc/stop.html b/html/doc/stop.html index 9252e1c20..a58308ad0 100644 --- a/html/doc/stop.html +++ b/html/doc/stop.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-stop</title> + <title>stop</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -348,15 +348,18 @@ input.submit, input#submit, input.button, button, input[type=submit] { <p>This runs a package's "stop" script, if one was provided.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -372,7 +375,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help stop - 2011-11-04 08:09:48 --> diff --git a/html/doc/submodule.html b/html/doc/submodule.html index 334f964fd..001611b95 100644 --- a/html/doc/submodule.html +++ b/html/doc/submodule.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-submodule</title> + <title>submodule</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -365,15 +365,18 @@ dependencies into the submodule folder.</p> <ul><li><a href="json.html">npm json</a></li><li>git help submodule</li></ul> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -389,7 +392,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help submodule - 2011-30-04 08:09:03 --> diff --git a/html/doc/tag.html b/html/doc/tag.html index 955bd4b46..f9d2001d8 100644 --- a/html/doc/tag.html +++ b/html/doc/tag.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-tag</title> + <title>tag</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -349,15 +349,18 @@ input.submit, input#submit, input.button, button, input[type=submit] { <code>--tag</code> config if not specified.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -373,7 +376,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help tag - 2011-11-04 08:09:48 --> diff --git a/html/doc/test.html b/html/doc/test.html index 22d8d4927..e9ec60878 100644 --- a/html/doc/test.html +++ b/html/doc/test.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-test</title> + <title>test</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -351,15 +351,18 @@ input.submit, input#submit, input.button, button, input[type=submit] { true.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -375,7 +378,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help test - 2011-11-04 08:09:48 --> diff --git a/html/doc/uninstall.html b/html/doc/uninstall.html index 72b6135d5..684fa237b 100644 --- a/html/doc/uninstall.html +++ b/html/doc/uninstall.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-uninstall</title> + <title>uninstall</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -349,15 +349,18 @@ npm rm <name></code></pre> <p>This uninstalls a package, completely removing everything installed for it.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -373,7 +376,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help uninstall - 2011-11-04 08:09:49 --> diff --git a/html/doc/unpublish.html b/html/doc/unpublish.html index 4e2f510da..addbd4079 100644 --- a/html/doc/unpublish.html +++ b/html/doc/unpublish.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-unpublish</title> + <title>unpublish</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -352,15 +352,18 @@ entry and removing the tarball.</p> the root package entry is removed from the registry entirely.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -376,7 +379,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help unpublish - 2011-11-04 08:09:49 --> diff --git a/html/doc/update.html b/html/doc/update.html index ef39cc32d..c07917c43 100644 --- a/html/doc/update.html +++ b/html/doc/update.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-update</title> + <title>update</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -351,15 +351,18 @@ input.submit, input#submit, input.button, button, input[type=submit] { <p>It will also install missing packages.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -375,7 +378,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help update - 2011-11-04 08:09:49 --> diff --git a/html/doc/version.html b/html/doc/version.html index 4b4b7e4a2..0888f9785 100644 --- a/html/doc/version.html +++ b/html/doc/version.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-version</title> + <title>version</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -352,15 +352,18 @@ data back to the package.json file.</p> fail if the repo is not clean.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -376,7 +379,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help version - 2011-11-04 08:09:49 --> diff --git a/html/doc/view.html b/html/doc/view.html index f63134639..36f966eae 100644 --- a/html/doc/view.html +++ b/html/doc/view.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-view</title> + <title>view</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -416,15 +416,18 @@ will be prefixed with the version it applies to.</p> the field name.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -440,7 +443,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help view - 2011-30-04 08:09:03 --> diff --git a/html/doc/whoami.html b/html/doc/whoami.html index 6a834c7f2..81ef33d1a 100644 --- a/html/doc/whoami.html +++ b/html/doc/whoami.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-whoami</title> + <title>whoami</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> @@ -348,15 +348,18 @@ input.submit, input#submit, input.button, button, input[type=submit] { <p>Print the <code>username</code> config to standard output.</p> </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -372,7 +375,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help whoami - 2011-11-04 08:09:49 --> diff --git a/html/docfoot.html b/html/docfoot.html index 11bc1276e..75e4f099f 100644 --- a/html/docfoot.html +++ b/html/docfoot.html @@ -1,14 +1,17 @@ </div> <script> -els = Array.prototype.slice.call((wrapper = document.getElementById("wrapper")) -.getElementsByTagName("*"), 0) -.filter(function (el) { - return el.parentNode === wrapper - && el.tagName.match(/H[1-6]/) - && el.id -}) +;(function () { +var wrapper = document.getElementById("wrapper") +var els = Array.prototype.slice.call(wrapper) + .getElementsByTagName("*"), 0) + .filter(function (el) { + return el.parentNode === wrapper + && el.tagName.match(/H[1-6]/) + && el.id + }) var l = 2 -;(toc = document.createElement("ul")).innerHTML = els.map(function (el) { + , toc = document.createElement("ul") +toc.innerHTML = els.map(function (el) { var i = el.tagName.charAt(1) , out = "" while (i > l) { @@ -24,7 +27,6 @@ var l = 2 }).join("\n") toc.id = "toc" document.body.appendChild(toc) - +})() </script> </body></html> -<!-- npm help @NAME@ - @DATE@ --> diff --git a/html/dochead.html b/html/dochead.html index 26039513a..8b8b769b0 100644 --- a/html/dochead.html +++ b/html/dochead.html @@ -1,6 +1,6 @@ <!doctype html> <html> - <title>npm-@NAME@</title> + <title>@NAME@</title> <meta http-equiv="content-type" value="text/html;utf-8"> <style type="text/css"> |