From 4d7e1cef370586c6644e226c55db1fcd234346ad Mon Sep 17 00:00:00 2001 From: Julie Date: Wed, 19 Feb 2014 11:53:02 -0800 Subject: 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 --- docs/config/processors/index-page.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/config/processors') 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 +}; -- cgit v1.2.3