Skip to content

Commit

Permalink
Release: v1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tabalinas committed Jul 18, 2016
1 parent 21b24a5 commit fd03342
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsgrid",
"version": "1.5.0",
"version": "1.5.1",
"main": [
"dist/jsgrid.js",
"dist/jsgrid.css",
Expand Down
2 changes: 1 addition & 1 deletion dist/jsgrid-theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/jsgrid-theme.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/jsgrid.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* jsGrid v1.5.0 (http://js-grid.com)
* jsGrid v1.5.1 (http://js-grid.com)
* (c) 2016 Artem Tabalin
* Licensed under MIT (https://github.com/tabalinas/jsgrid/blob/master/LICENSE)
*/
Expand Down
14 changes: 8 additions & 6 deletions dist/jsgrid.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* jsGrid v1.5.0 (http://js-grid.com)
* jsGrid v1.5.1 (http://js-grid.com)
* (c) 2016 Artem Tabalin
* Licensed under MIT (https://github.com/tabalinas/jsgrid/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -213,10 +213,12 @@
this._controller = $.extend({}, defaultController, getOrApply(this.controller, this));
},

renderTemplate: function(source, context, args) {
args = $.map(args || [], function(arg) {
return arg;
});
renderTemplate: function(source, context, config) {
args = [];
for(var key in config) {
args.push(config[key]);
}

args.unshift(source, context);

source = getOrApply.apply(null, args);
Expand Down Expand Up @@ -1463,7 +1465,7 @@
setDefaults: setDefaults,
locales: locales,
locale: locale,
version: '1.5.0'
version: '1.5.1'
};

}(window, jQuery));
Expand Down
2 changes: 1 addition & 1 deletion dist/jsgrid.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/jsgrid.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsgrid",
"version": "1.5.0",
"version": "1.5.1",
"description": "Lightweight data grid jQuery plugin. It supports basic grid operations like inserting, filtering, editing, deleting, paging, sorting, and validation. jsGrid is tunable and allows to customize appearance and components.",
"keywords": [
"grid",
Expand Down

0 comments on commit fd03342

Please sign in to comment.