mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Use jekyll var for current version in docs; update banner in gruntfile to match .less banner
This commit is contained in:
+4
-2
@@ -9,9 +9,11 @@ module.exports = function(grunt) {
|
||||
// Metadata.
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
banner: '/**\n' +
|
||||
'* <%= pkg.name %>.js v<%= pkg.version %> by @fat and @mdo\n' +
|
||||
'* Bootstrap v<%= pkg.version %> by @fat and @mdo\n' +
|
||||
'* Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
|
||||
'* <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' +
|
||||
'* Licensed under <%= _.pluck(pkg.licenses, "url").join(", ") %>.\n' +
|
||||
'*\n' +
|
||||
'* Designed and built with all the love in the world by @mdo and @fat.\n' +
|
||||
'*/\n',
|
||||
jqueryCheck: 'if (!jQuery) { throw new Error(\"Bootstrap requires jQuery\") }\n\n',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user