aboutsummaryrefslogtreecommitdiff
path: root/docs/grunt
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-01-14 13:25:27 -0800
committerChris Rebert <[email protected]>2014-01-14 13:27:50 -0800
commit46b0874ef5035a71484a69e598a6f148c73c55fa (patch)
tree76e457c6afc321d48753c8c1ebbc2a946e4d7e41 /docs/grunt
parent027af6deb4cd1783b4a6cfcc98ec3f64d585958a (diff)
downloadbootstrap-46b0874ef5035a71484a69e598a6f148c73c55fa.tar.xz
bootstrap-46b0874ef5035a71484a69e598a6f148c73c55fa.zip
add copyright notice to raw-files.js
Diffstat (limited to 'docs/grunt')
-rw-r--r--docs/grunt/bs-raw-files-generator.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/grunt/bs-raw-files-generator.js b/docs/grunt/bs-raw-files-generator.js
index 6b23cca7c..e4ba8d48c 100644
--- a/docs/grunt/bs-raw-files-generator.js
+++ b/docs/grunt/bs-raw-files-generator.js
@@ -16,7 +16,10 @@ function getFiles(type) {
return 'var __' + type + ' = ' + JSON.stringify(files) + '\n'
}
-module.exports = function generateRawFilesJs() {
- var files = getFiles('js') + getFiles('less') + getFiles('fonts')
+module.exports = function generateRawFilesJs(banner) {
+ if (!banner) {
+ banner = ''
+ }
+ var files = banner + getFiles('js') + getFiles('less') + getFiles('fonts')
fs.writeFileSync('docs/assets/js/raw-files.js', files)
}