mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
Merge branch 'master' into docs_derp
Conflicts: docs/_includes/old-bs-docs.html
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -41,7 +41,7 @@ function Section(heading, customizable) {
|
||||
|
||||
Section.prototype.addSubSection = function (subsection) {
|
||||
this.subsections.push(subsection);
|
||||
}
|
||||
};
|
||||
|
||||
function SubSection(heading) {
|
||||
this.heading = heading.trim();
|
||||
|
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user