aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/docs.js
diff options
context:
space:
mode:
authorIgor Minar2011-12-28 14:51:35 -0800
committerVojta Jina2012-01-09 13:17:49 -0800
commit11cb9423a7a68ea65fee09241179fa04a5cb2eec (patch)
tree29b7b2b04dc81098a71dff9394cdbcc6437f959b /docs/src/templates/docs.js
parentc76a120bfea6f78d6530fa63a8129dfc40af7d86 (diff)
downloadangular.js-11cb9423a7a68ea65fee09241179fa04a5cb2eec.tar.bz2
chore(docs): disable disqus for localhost
it's just slowing down the test runs and debugging
Diffstat (limited to 'docs/src/templates/docs.js')
-rw-r--r--docs/src/templates/docs.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/src/templates/docs.js b/docs/src/templates/docs.js
index 995d8bf9..3a02e990 100644
--- a/docs/src/templates/docs.js
+++ b/docs/src/templates/docs.js
@@ -108,7 +108,8 @@ function DocsController($location, $window, $cookies, $filter) {
window.disqus_url = 'http://docs-next.angularjs.org' + currentPageId;
if ($location.host() == 'localhost') {
- window.disqus_developer = 1;
+ return; // don't display disqus on localhost, comment this out if needed
+ //window.disqus_developer = 1;
}
// http://docs.disqus.com/developers/universal/