Skip to content

Commit

Permalink
Handsontable 0.8.14
Browse files Browse the repository at this point in the history
  • Loading branch information
warpech committed Mar 14, 2013
1 parent 6bcea87 commit 64a42b3
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 18 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## HEAD
## [0.8.14](https://github.com/warpech/jquery-handsontable/tree/v0.8.14) (Mar 14, 2013)

Features:
- now, your data source can be a function! See the last section of the [Array, object and function data sources](http://www.handsontable.com/demo/datasources.html) page for examples (fixes [#471](https://github.com/warpech/jquery-handsontable/pull/471), [#435](https://github.com/warpech/jquery-handsontable/pull/435), [#261](https://github.com/warpech/jquery-handsontable/issues/261))
- also the column `data` property can be a function as well! Again, see the last section of the [data sources](http://www.handsontable.com/demo/datasources.html) page for examples
- now, your data source can be a function! See the last section of the [Array, object and function data sources](http://handsontable.com/demo/datasources.html) page for examples (fixes [#471](https://github.com/warpech/jquery-handsontable/pull/471), [#435](https://github.com/warpech/jquery-handsontable/pull/435), [#261](https://github.com/warpech/jquery-handsontable/issues/261))
- also the column `data` property can be a function as well! Again, see the last section of the [data sources](http://handsontable.com/demo/datasources.html) page for examples
- new methods: `countEmptyRows`, `countEmptyCols`, `isEmptyRow`, `isEmptyCol`. You can define your own functions for `isEmptyRow` and `isEmptyCol` (see [README.md](https://github.com/warpech/jquery-handsontable) for details)

Bugfix:
Expand Down
7 changes: 6 additions & 1 deletion demo/js/samples.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function trimCodeBlock(code, pad) {
offset++;
}
for (i = 0, ilen = code.length; i < ilen; i++) {
code[i] = Array(pad + 1).join(' ') + code[i].substring(offset);
code[i] = new Array(pad + 1).join(' ') + code[i].substring(offset);
}
return code;
}
Expand Down Expand Up @@ -59,6 +59,11 @@ $(function () {
css += '<script src="http://handsontable.com/lib/jquery-ui/js/jquery-ui.custom.min.js"></script>\n\
<link rel="stylesheet" media="screen" href="http://handsontable.com/lib/jquery-ui/css/ui-bootstrap/jquery-ui.custom.css">\n';
}
if (window.Backbone) {
css += '<script src="http://handsontable.com/demo/js/backbone/lodash.underscore.js"></script>\n\
<script src="http://handsontable.com/demo/js/backbone/backbone.js"></script>\n\
<script src="http://handsontable.com/demo/js/backbone/backbone-relational/backbone-relational.js"></script>\n';
}

css += '<style type="text/css">\n\
body {background: white; margin: 20px;}\n\
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 0.8.13
* Handsontable 0.8.14
* 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: Thu Mar 14 2013 02:53:30 GMT+0100 (Central European Standard Time)
* Date: Thu Mar 14 2013 03:07:52 GMT+0100 (Central European Standard Time)
*/

.handsontable {
Expand Down
8 changes: 4 additions & 4 deletions dist/jquery.handsontable.full.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
* Handsontable 0.8.13
* Handsontable 0.8.14
* 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: Thu Mar 14 2013 02:53:30 GMT+0100 (Central European Standard Time)
* Date: Thu Mar 14 2013 03:07:52 GMT+0100 (Central European Standard Time)
*/
/*jslint white: true, browser: true, plusplus: true, indent: 4, maxerr: 50 */

Expand Down Expand Up @@ -2130,7 +2130,7 @@ Handsontable.Core = function (rootElement, settings) {
/**
* Handsontable version
*/
this.version = '0.8.13'; //inserted by grunt from package.json
this.version = '0.8.14'; //inserted by grunt from package.json
};

var settings = {
Expand Down Expand Up @@ -7284,7 +7284,7 @@ function CopyPaste(listenerElement) {
//http://stackoverflow.com/questions/1502385/how-can-i-make-this-code-work-in-ie
CopyPaste.prototype.selectNodeText = function (el) {
this.elTextarea.select();
}
};

CopyPaste.prototype.copyable = function (str) {
if (typeof str !== 'string' && str.toString === void 0) {
Expand Down
2 changes: 1 addition & 1 deletion handsontable.jquery.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "handsontable",
"title": "Handsontable",
"version": "0.8.13",
"version": "0.8.14",
"author": {
"name": "Marcin Warpechowski",
"email": "[email protected]",
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 0.8.13
* Handsontable 0.8.14
* 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: Thu Mar 14 2013 02:53:30 GMT+0100 (Central European Standard Time)
* Date: Thu Mar 14 2013 03:07:52 GMT+0100 (Central European Standard Time)
*/

.handsontable {
Expand Down
8 changes: 4 additions & 4 deletions jquery.handsontable.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
* Handsontable 0.8.13
* Handsontable 0.8.14
* 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: Thu Mar 14 2013 02:53:30 GMT+0100 (Central European Standard Time)
* Date: Thu Mar 14 2013 03:07:52 GMT+0100 (Central European Standard Time)
*/
/*jslint white: true, browser: true, plusplus: true, indent: 4, maxerr: 50 */

Expand Down Expand Up @@ -2130,7 +2130,7 @@ Handsontable.Core = function (rootElement, settings) {
/**
* Handsontable version
*/
this.version = '0.8.13'; //inserted by grunt from package.json
this.version = '0.8.14'; //inserted by grunt from package.json
};

var settings = {
Expand Down Expand Up @@ -7284,7 +7284,7 @@ function CopyPaste(listenerElement) {
//http://stackoverflow.com/questions/1502385/how-can-i-make-this-code-work-in-ie
CopyPaste.prototype.selectNodeText = function (el) {
this.elTextarea.select();
}
};

CopyPaste.prototype.copyable = function (str) {
if (typeof str !== 'string' && str.toString === void 0) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "https://github.com/warpech/jquery-handsontable/issues"
},
"author": "Marcin Warpechowski <[email protected]>",
"version": "0.8.13",
"version": "0.8.14",
"devDependencies": {
"grunt": "~0.4.0",
"grunt-replace": "~0.4.0",
Expand Down

0 comments on commit 64a42b3

Please sign in to comment.