diff options
| author | Julie | 2014-02-19 11:53:02 -0800 | 
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-21 09:59:12 +0000 | 
| commit | 4d7e1cef370586c6644e226c55db1fcd234346ad (patch) | |
| tree | 08e42fc57248439da95a07cb56091c09fd5268f1 /docs/config/processors | |
| parent | 58b01fac1ec80b34f2deb2fe87321a9de19ea6d7 (diff) | |
| download | angular.js-4d7e1cef370586c6644e226c55db1fcd234346ad.tar.bz2 | |
chore(doc-gen): generate examples for each deployment, e.g. jquery
Update to the latest dgeni-packages, which supports multiple
deployment environments for the examples.
Add a jQuery deployment environment for the examples.
Currently, the target of the runnable example iframe always points
to the default deployment environment, not to the environment under
which the main app is running.
Closes #6361
Diffstat (limited to 'docs/config/processors')
| -rw-r--r-- | docs/config/processors/index-page.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/docs/config/processors/index-page.js b/docs/config/processors/index-page.js index 3ba1ac73..37a274ec 100644 --- a/docs/config/processors/index-page.js +++ b/docs/config/processors/index-page.js @@ -11,7 +11,7 @@ module.exports = {    init: function(config) {      deployment = config.deployment;      if ( !deployment || !deployment.environments ) { -      throw new Errro('No deployment environments found in the config.'); +      throw new Error('No deployment environments found in the config.');      }    },    process: function(docs) { @@ -39,4 +39,4 @@ module.exports = {        docs.push(indexDoc);      });    } -};
\ No newline at end of file +}; | 
