From 839bf025a8cd2c89dced086a20aa8b75c4fcfbea Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Sat, 23 Jun 2012 11:31:26 +0200 Subject: [PATCH] docs: Switch to the asynchronous Google Analytics snippet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The old snippet needlessly uses `document.write`. Let’s use the optimized version of the most recent, asynchronous GA snippet: http://mathiasbynens.be/notes/async-analytics-snippet --- doc/about/index.html | 19 +++++++++---------- doc/blog.html | 19 +++++++++---------- doc/changelog-foot.html | 17 ++++++++--------- doc/community/index.html | 28 +++++++++++++--------------- doc/index.html | 20 +++++++++----------- doc/logos/index.html | 20 +++++++++----------- doc/template.html | 17 ++++++++--------- 7 files changed, 65 insertions(+), 75 deletions(-) diff --git a/doc/about/index.html b/doc/about/index.html index cecebef013..a94aa99b69 100644 --- a/doc/about/index.html +++ b/doc/about/index.html @@ -130,7 +130,7 @@ console.log('Server running at http://127.0.0.1:1337/');
  • -

    Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.

    +

    Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.

    @@ -139,15 +139,14 @@ console.log('Server running at http://127.0.0.1:1337/'); - + diff --git a/doc/blog.html b/doc/blog.html index 0ee0e3b6da..547f609aa5 100644 --- a/doc/blog.html +++ b/doc/blog.html @@ -103,7 +103,7 @@ <%- post.content %>

    Please post feedback and comments on - the Node.JS + the Node.JS user mailing list.

    <% @@ -197,21 +197,20 @@
  • -

    Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.

    +

    Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.

    - diff --git a/doc/changelog-foot.html b/doc/changelog-foot.html index cc27eafb5e..1bb70dfd20 100644 --- a/doc/changelog-foot.html +++ b/doc/changelog-foot.html @@ -15,22 +15,21 @@
  • -

    Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.

    +

    Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.

    - diff --git a/doc/community/index.html b/doc/community/index.html index c6605c0740..b5cbc73223 100644 --- a/doc/community/index.html +++ b/doc/community/index.html @@ -42,10 +42,10 @@

    @nodejs

    - +

    Node's most valuable feature is the friendly and colorful community of developers. There are many places where this group congregates on the internet. This page attempts to highlight the best forums.

    - +

    Documentation

    @@ -54,7 +54,7 @@

    Node Manual offers stylized API docs, as well as tutorials and live code samples

    Node Bits provides sample Node.js projects

    docs.nodejitsu.com answers many of the common problems people come across.

    -

    How To Node has a growing number of useful tutorials.

    +

    How To Node has a growing number of useful tutorials.

    Stack Overflow node.js tag collects new information every day.

    @@ -77,7 +77,7 @@
    - +

    Mailing Lists

    @@ -169,7 +169,7 @@ channel for those who miss a day.

    - +

    @@ -188,19 +188,17 @@
  • -

    Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.

    +

    Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.

    - diff --git a/doc/index.html b/doc/index.html index 4f54562870..8f58f6f06d 100644 --- a/doc/index.html +++ b/doc/index.html @@ -31,7 +31,7 @@ Download Docs -

    __VERSION__

    +

    __VERSION__

    Fork me on GitHub @@ -214,7 +214,7 @@ server.listen(1337, '127.0.0.1'); -

    Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.

    +

    Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.

    @@ -223,15 +223,13 @@ server.listen(1337, '127.0.0.1'); - diff --git a/doc/logos/index.html b/doc/logos/index.html index 02b933052d..62e308229a 100644 --- a/doc/logos/index.html +++ b/doc/logos/index.html @@ -40,7 +40,7 @@

    @nodejs

    - +

    Logo Downloads

    @@ -82,19 +82,17 @@
  • -

    Copyright Joyent, Inc., Node.js is a trademark of Joyent, Inc., View License

    +

    Copyright Joyent, Inc., Node.js is a trademark of Joyent, Inc., View License

    - diff --git a/doc/template.html b/doc/template.html index 93edf4934c..d6aa074a9a 100644 --- a/doc/template.html +++ b/doc/template.html @@ -66,21 +66,20 @@
  • -

    Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.

    +

    Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.

    -