Skip to content

Commit

Permalink
Stable Version 2.2.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry committed Jul 22, 2015
1 parent c87fcc0 commit 549c114
Show file tree
Hide file tree
Showing 26 changed files with 357 additions and 388 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,8 @@
##### 2.2.3 - 22 July 2015

###### Backwards compatible bug fixes
- Removed some asinine optimizations

##### 2.2.2 - 10 July 2015

###### Backwards compatible bug fixes
Expand Down
13 changes: 12 additions & 1 deletion Gruntfile.js
Expand Up @@ -154,6 +154,16 @@ module.exports = function (grunt) {
grunt.file.write(filePath.replace('-debug', ''), file);
});

grunt.registerTask('gzip', function () {
var child_process = require('child_process');
var done = this.async();
grunt.log.writeln('Measuring gzip size...');
child_process.exec('cat dist/js-data.min.js | gzip -f9 | wc -c', function (err, stdout) {
grunt.log.writeln('File dist/js-data.min.js gzipped: ' + stdout.replace('\n', ' kB'));
done();
});
});

grunt.registerTask('n', ['mochaTest']);
grunt.registerTask('b', ['karma:ci', 'karma:min']);
grunt.registerTask('w', ['n', 'watch:n']);
Expand All @@ -165,7 +175,8 @@ module.exports = function (grunt) {
'debug:dist/js-data-debug.js',
'version:dist/js-data-debug.js',
'version:dist/js-data.js',
'uglify:main'
'uglify:main',
'gzip'
]);
grunt.registerTask('go', ['build', 'watch:dist']);
grunt.registerTask('golite', ['webpack', 'watch:lite']);
Expand Down

0 comments on commit 549c114

Please sign in to comment.