mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Core: plan to manually update version number
too many scripts link to the src, so it'll be hard to tell what version is being used
This commit is contained in:
parent
44ee94502b
commit
fb9ad1acac
16
Gruntfile.js
16
Gruntfile.js
@ -200,20 +200,6 @@ module.exports = function( grunt ) {
|
||||
}
|
||||
},
|
||||
|
||||
'string-replace': {
|
||||
dist: {
|
||||
files: {
|
||||
'dist/js/': ['dist/js/*.js']
|
||||
},
|
||||
options: {
|
||||
replacements: [{
|
||||
pattern: /\{\{version\}\}/ig,
|
||||
replacement: '<%= pkg.version %>'
|
||||
}]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
cssmin: {
|
||||
target: {
|
||||
files: [{
|
||||
@ -254,7 +240,6 @@ module.exports = function( grunt ) {
|
||||
grunt.loadNpmTasks( 'grunt-contrib-copy' );
|
||||
grunt.loadNpmTasks( 'grunt-contrib-watch' );
|
||||
grunt.loadNpmTasks( 'grunt-contrib-cssmin' );
|
||||
grunt.loadNpmTasks('grunt-string-replace');
|
||||
|
||||
grunt.registerTask( 'test', [ 'jshint', 'qunit' ] );
|
||||
|
||||
@ -265,7 +250,6 @@ module.exports = function( grunt ) {
|
||||
'uglify',
|
||||
'cssmin',
|
||||
'clean:css',
|
||||
'string-replace',
|
||||
'updateManifest'
|
||||
];
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! TableSorter (FORK) v{{version}} *//*
|
||||
/*! TableSorter (FORK) v2.20.1 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
var ts = this;
|
||||
|
||||
ts.version = '{{version}}';
|
||||
ts.version = '2.20.1';
|
||||
|
||||
ts.parsers = [];
|
||||
ts.widgets = [];
|
||||
|
Loading…
Reference in New Issue
Block a user