aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src
diff options
context:
space:
mode:
authorggoodman2012-12-11 11:42:00 -0500
committerPete Bacon Darwin2012-12-11 19:04:46 +0000
commit25e1ad9a9443de6b7ebb40409af72021cc4e7b20 (patch)
treed72dce2ab54bb420efe22bc00260fe37a7c95223 /docs/src
parent37cced6296f0433d61434dad5878bb7036e6a493 (diff)
downloadangular.js-25e1ad9a9443de6b7ebb40409af72021cc4e7b20.tar.bz2
feat(docs): Add angularjs tag to plunks and make private
This is a minor edit to allow Plunks created by way of the docs.angularjs.org site to be appropriately tagged as `angularjs`. Also, make these generated Plunks private by default.
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/templates/js/docs.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/src/templates/js/docs.js b/docs/src/templates/js/docs.js
index deaa7812..a43aa601 100644
--- a/docs/src/templates/js/docs.js
+++ b/docs/src/templates/js/docs.js
@@ -190,7 +190,9 @@ docsApp.serviceFactory.openPlunkr = function(templateMerge, formPostData, angula
});
postData['files[index.html]'] = templateMerge(indexHtmlContent, indexProp);
-
+ postData['tags[]'] = "angularjs";
+
+ postData.private = true;
postData.description = 'AngularJS Example Plunkr';
formPostData('http://plnkr.co/edit/?p=preview', postData);