aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/doc_widgets.js
diff options
context:
space:
mode:
authorIgor Minar2012-03-06 14:14:21 -0800
committerIgor Minar2012-03-08 11:06:14 -0800
commit2acd60df4dcc1550b5756559d98a8b03815973d6 (patch)
treee4ef24663be07ae67bfdaf51f6f288457805eeb3 /docs/src/templates/doc_widgets.js
parente0ace15cd325b28f5c9a2a6f8e040dfd2701b1f4 (diff)
downloadangular.js-2acd60df4dcc1550b5756559d98a8b03815973d6.tar.bz2
fix(docs): remove undefined from examples with jsfiddle=false
Diffstat (limited to 'docs/src/templates/doc_widgets.js')
-rw-r--r--docs/src/templates/doc_widgets.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/src/templates/doc_widgets.js b/docs/src/templates/doc_widgets.js
index acbdae4f..e5be5cad 100644
--- a/docs/src/templates/doc_widgets.js
+++ b/docs/src/templates/doc_widgets.js
@@ -152,6 +152,8 @@ angular.module('ngdocs.directives', [], function($compileProvider) {
'<button>edit at jsFiddle</button>' +
'</form>';
}
+ } else {
+ return '';
}
};
}