chore(docs): disable disqus for localhost

it's just slowing down the test runs and debugging
This commit is contained in:
Igor Minar 2011-12-28 14:51:35 -08:00 committed by Vojta Jina
parent c76a120bfe
commit 11cb9423a7

View file

@ -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/