1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-06-09 01:12:38 +02:00

Merge master in

This commit is contained in:
Max Guglielmi 2015-09-04 22:06:22 +10:00
commit 9376d45d56
3 changed files with 11 additions and 5 deletions

View file

@ -94,7 +94,8 @@ module.exports = function (grunt) {
'HTML tables by adding features such as ' +
'inline editing components, advanced ' +
'selection and keyboard navigation ' +
'- Developed by Max Guglielmi">ezEditTable</a>'
'- Developed by '+ pkg.author.name +'">' +
'ezEditTable</a>'
},{
pattern: /<!-- @import (.*?) -->/ig,
replacement: function (match, p1) {
@ -176,7 +177,7 @@ module.exports = function (grunt) {
options: {
banner: '/** \n' +
' *\t '+ pkg.name +' v'+ pkg.version +
' by Max Guglielmi \n' +
' by '+ pkg.author.name +' \n' +
' *\t build date: '+ new Date().toISOString() +' \n' +
' *\t MIT License \n' +
' */ \n'

View file

@ -43,10 +43,10 @@ export class Help{
//help content div
this.cont = null;
this.defaultHtml = '<div class="helpFooter"><h4>TableFilter ' +
'v. '+ tf.version +'</h4>' +
'v'+ tf.version +'</h4>' +
'<a href="https://github.com/koalyptus/TableFilter/" ' +
' target="_blank">https://github.com/koalyptus/TableFilter/</a>' +
'<br/><span>&copy;2015-'+ tf.year +' Max Guglielmi.</span>' +
'<br/><span>&copy;2015-'+ tf.year +' {AUTHOR}</span>' +
'<div align="center" style="margin-top:8px;">' +
'<a href="javascript:void(0);" class="close">Close</a></div></div>';

View file

@ -41,6 +41,11 @@ module.exports = {
replacement: function (/*match, p1, offset, string*/) {
return pkg.version;
}
},{
pattern: /{AUTHOR}/ig,
replacement: function () {
return pkg.author.name;
}
}]
})
}
@ -55,7 +60,7 @@ module.exports = {
new webpack.optimize.UglifyJsPlugin(),
new webpack.BannerPlugin(
'/** \n' +
' *\t '+ pkg.name +' v'+ pkg.version +' by Max Guglielmi \n' +
' *\t '+pkg.name+' v'+pkg.version+' by '+pkg.author.name+'\n' +
' *\t build date: '+ new Date().toISOString() +' \n' +
' *\t MIT License \n' +
' */ \n',