Skip to content

Commit

Permalink
bugfix: after upgrade to Grunt 0.4.0, reading package.json was broken…
Browse files Browse the repository at this point in the history
… in the gruntfile
  • Loading branch information
warpech committed Feb 26, 2013
1 parent 9076621 commit 6d01ae5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/
module.exports = function (grunt) {
grunt.initConfig({
pkg: '<json:package.json>',
pkg: grunt.file.readJSON('package.json'),
concat: {
dist: {
src: [
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.handsontable.full.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
* Handsontable <json:package.json>
* Handsontable 0.8.5
* Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs
*
* Copyright 2012, Marcin Warpechowski
* Licensed under the MIT license.
* http://handsontable.com/
*
* Date: Tue Feb 26 2013 15:11:31 GMT+0100 (Central European Standard Time)
* Date: Tue Feb 26 2013 15:15:29 GMT+0100 (Central European Standard Time)
*/

.handsontable {
Expand Down
6 changes: 3 additions & 3 deletions dist/jquery.handsontable.full.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
* Handsontable <json:package.json>
* Handsontable 0.8.5
* Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs
*
* Copyright 2012, Marcin Warpechowski
* Licensed under the MIT license.
* http://handsontable.com/
*
* Date: Tue Feb 26 2013 15:11:31 GMT+0100 (Central European Standard Time)
* Date: Tue Feb 26 2013 15:15:29 GMT+0100 (Central European Standard Time)
*/
/*jslint white: true, browser: true, plusplus: true, indent: 4, maxerr: 50 */

Expand Down Expand Up @@ -1940,7 +1940,7 @@ Handsontable.Core = function (rootElement, settings) {
/**
* Handsontable version
*/
this.version = '<json:package.json>'; //inserted by grunt from package.json
this.version = '0.8.5'; //inserted by grunt from package.json
};

var settings = {
Expand Down
4 changes: 2 additions & 2 deletions jquery.handsontable.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
* Handsontable <json:package.json>
* Handsontable 0.8.5
* Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs
*
* Copyright 2012, Marcin Warpechowski
* Licensed under the MIT license.
* http://handsontable.com/
*
* Date: Tue Feb 26 2013 15:11:31 GMT+0100 (Central European Standard Time)
* Date: Tue Feb 26 2013 15:15:29 GMT+0100 (Central European Standard Time)
*/

.handsontable {
Expand Down
6 changes: 3 additions & 3 deletions jquery.handsontable.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
* Handsontable <json:package.json>
* Handsontable 0.8.5
* Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs
*
* Copyright 2012, Marcin Warpechowski
* Licensed under the MIT license.
* http://handsontable.com/
*
* Date: Tue Feb 26 2013 15:11:31 GMT+0100 (Central European Standard Time)
* Date: Tue Feb 26 2013 15:15:29 GMT+0100 (Central European Standard Time)
*/
/*jslint white: true, browser: true, plusplus: true, indent: 4, maxerr: 50 */

Expand Down Expand Up @@ -1940,7 +1940,7 @@ Handsontable.Core = function (rootElement, settings) {
/**
* Handsontable version
*/
this.version = '<json:package.json>'; //inserted by grunt from package.json
this.version = '0.8.5'; //inserted by grunt from package.json
};

var settings = {
Expand Down

0 comments on commit 6d01ae5

Please sign in to comment.