diff options
| author | Igor Minar | 2011-12-28 14:51:35 -0800 |
|---|---|---|
| committer | Vojta Jina | 2012-01-09 13:17:49 -0800 |
| commit | 11cb9423a7a68ea65fee09241179fa04a5cb2eec (patch) | |
| tree | 29b7b2b04dc81098a71dff9394cdbcc6437f959b /docs/src | |
| parent | c76a120bfea6f78d6530fa63a8129dfc40af7d86 (diff) | |
| download | angular.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')
| -rw-r--r-- | docs/src/templates/docs.js | 3 |
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/ |
