From 11cb9423a7a68ea65fee09241179fa04a5cb2eec Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 28 Dec 2011 14:51:35 -0800 Subject: chore(docs): disable disqus for localhost it's just slowing down the test runs and debugging --- docs/src/templates/docs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/src/templates') 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/ -- cgit v1.2.3