Permalink
Browse files

A little formatting of the header banner

  • Loading branch information...
1 parent 6eeaa84 commit f5b9c68ff97b7e90b4576e7dc586382fdd161077 @tristen committed Nov 10, 2012
Showing with 18 additions and 12 deletions.
  1. +7 −5 grunt.js
  2. +6 −4 tablesort.js
  3. +5 −3 tablesort.min.js
View
@@ -5,11 +5,13 @@ module.exports = function(grunt) {
grunt.initConfig({
pkg: '<json:package.json>',
meta: {
- banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
- '<%= grunt.template.today("yyyy-mm-dd") %>\n' +
- '<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' +
- '* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
- ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */'
+ banner: '/*!\n' +
+ ' * <%= pkg.name %> v<%= pkg.version %> ' +
+ '(<%= grunt.template.today("yyyy-mm-dd") %>)\n' +
+ ' * <%= pkg.homepage %>\n' +
+ ' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
+ ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %>\n' +
+ '*/'
},
lint: {
files: ['grunt.js', 'src/**/*.js', 'test/**/*.js']
View
@@ -1,6 +1,8 @@
-/*! tablesort - v1.6.0 - 2012-11-07
-* http://tristen.ca/tablesort/demo
-* Copyright (c) 2012 ; Licensed MIT */
+/*!
+ * tablesort v1.6.0 (2012-11-10)
+ * http://tristen.ca/tablesort/demo
+ * Copyright (c) 2012 ; Licensed MIT
+*/
;(function () {
function Tablesort(el, options) {
@@ -275,4 +277,4 @@
};
window.Tablesort = Tablesort;
-})();
+})();
View
Oops, something went wrong.

0 comments on commit f5b9c68

Please sign in to comment.