diff --git a/docs/app/js/codepen.js b/docs/app/js/codepen.js index 03936fe8846..9a842e9e8e6 100644 --- a/docs/app/js/codepen.js +++ b/docs/app/js/codepen.js @@ -83,7 +83,8 @@ // Modifies index.html with necessary changes in order to display correctly in codepen // See each processor to determine how each modifies the html function processHtml(demo) { - var index = demo.files.index.contents; + + var allContent = demo.files.index.contents; var processors = [ applyAngularAttributesToParentElement, @@ -92,10 +93,19 @@ ]; processors.forEach(function(processor) { - index = processor(index, demo); + allContent = processor(allContent, demo); }); - return index; + return allContent + buildLicenseHTML(); + } + + function buildLicenseHTML() { + return '\n\n'+ + ''; } // Applies modifications the javascript prior to sending to codepen.