From 59016d2198d18904a02f122601dc828663c506b6 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Wed, 1 Feb 2012 16:38:58 -0800 Subject: only add the anyalytics to production --- docs/assets/bootstrap.zip | Bin 52330 -> 52330 bytes docs/base-css.html | 2 ++ docs/build/index.js | 2 ++ docs/components.html | 2 ++ docs/download.html | 2 ++ docs/examples.html | 2 ++ docs/index.html | 2 ++ docs/javascript.html | 2 ++ docs/less.html | 2 ++ docs/scaffolding.html | 2 ++ docs/templates/layout.mustache | 19 +++++++++++++++++++ docs/upgrading.html | 2 ++ 12 files changed, 39 insertions(+) (limited to 'docs') diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 8922a5c7a..8a68adafe 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/base-css.html b/docs/base-css.html index fe6e4fe89..0eb35b641 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1576,5 +1576,7 @@ For example, <code>section</code> should be wrapped as inline. + + diff --git a/docs/build/index.js b/docs/build/index.js index 4c759c6e0..5321fa750 100644 --- a/docs/build/index.js +++ b/docs/build/index.js @@ -1,6 +1,7 @@ #!/usr/bin/env node var hogan = require('hogan.js') , fs = require('fs') + , prod = process.argv[2] == 'production' var layout, pages @@ -21,6 +22,7 @@ pages.forEach(function (name) { context[name.replace(/\.mustache$/, '')] = 'active' context._i = true + context.production = prod page = hogan.compile(page, { sectionTags: [{o:'_i', c:'i'}] }) page = layout.render(context, { diff --git a/docs/components.html b/docs/components.html index 0ccbf512e..0951c23b8 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1511,5 +1511,7 @@ + + diff --git a/docs/download.html b/docs/download.html index a3dc42f6a..f975ac3b2 100644 --- a/docs/download.html +++ b/docs/download.html @@ -354,5 +354,7 @@ + + diff --git a/docs/examples.html b/docs/examples.html index d317405ae..ff165685f 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -139,5 +139,7 @@ + + diff --git a/docs/index.html b/docs/index.html index ea370e1cd..dcf39a792 100644 --- a/docs/index.html +++ b/docs/index.html @@ -243,5 +243,7 @@ + + diff --git a/docs/javascript.html b/docs/javascript.html index 4287f852d..d74fc5234 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1459,5 +1459,7 @@ $('.myCarousel').carousel({ + + diff --git a/docs/less.html b/docs/less.html index 4249822d7..9a4df78c2 100644 --- a/docs/less.html +++ b/docs/less.html @@ -790,5 +790,7 @@ + + diff --git a/docs/scaffolding.html b/docs/scaffolding.html index 7f9c9de66..b8a635cdd 100644 --- a/docs/scaffolding.html +++ b/docs/scaffolding.html @@ -432,5 +432,7 @@ + + diff --git a/docs/templates/layout.mustache b/docs/templates/layout.mustache index 28a11d3fd..5f49bb62a 100644 --- a/docs/templates/layout.mustache +++ b/docs/templates/layout.mustache @@ -109,5 +109,24 @@ + + {{#production}} + + + {{/production}} + diff --git a/docs/upgrading.html b/docs/upgrading.html index 3bf02e178..4d8328b7c 100644 --- a/docs/upgrading.html +++ b/docs/upgrading.html @@ -291,5 +291,7 @@ + + -- cgit v1.2.3 From 87df2304083b7e2da0cc0d43e77a1199948fb3e3 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Wed, 1 Feb 2012 16:39:15 -0800 Subject: rebuild --- docs/assets/bootstrap.zip | Bin 52330 -> 52330 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'docs') diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 8a68adafe..b8ba926d3 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ -- cgit v1.2.3