From 705404ff8e3187dcc23b1fbafd60a67eaca26c7d Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 16 Aug 2013 10:53:18 -0700 Subject: chore(ngdocs): disable code prettification in e2e tests code prettification is expensive and not needed for e2e tests, so I'm disabling it to speed up the e2e test suite. this is a temporary measure, see previous commit for more info. --- docs/src/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/src') diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html index 1deb08e1..4807019a 100644 --- a/docs/src/templates/index.html +++ b/docs/src/templates/index.html @@ -54,8 +54,8 @@ addTag('script', {src: path('angular-animate.js') }, sync); addTag('script', {src: 'components/angular-bootstrap.js' }, sync); addTag('script', {src: 'components/angular-bootstrap-prettify.js' }, sync); - addTag('script', {src: 'components/google-code-prettify.js' }, sync); if (!window.RUNNING_IN_NG_TEST_RUNNER) { + addTag('script', {src: 'components/google-code-prettify.js' }, sync); addTag('script', {src: 'components/' + (debug ? 'lunr.js' : 'lunr.min.js') }, sync); } addTag('script', {src: 'components/marked.js' }, sync); -- cgit v1.2.3