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:
Mottie 2015-02-21 18:36:05 -06:00
parent 44ee94502b
commit fb9ad1acac
2 changed files with 2 additions and 18 deletions

View File

@ -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'
];

View File

@ -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 = [];