Skip to content

Commit

Permalink
update version to 5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
olifolkerd committed Oct 18, 2021
1 parent 4c80495 commit 3e88ab3
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tabulator",
"main": "dist/js/tabulator.js",
"version": "5.0.0",
"version": "5.0.1",
"description": "Interactive table generation JavaScript library",
"keywords": [
"table",
Expand Down
2 changes: 1 addition & 1 deletion build/rollup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Bundler from "./Bundler.js";

var bundler = new Bundler("5.0.0", process.env.TARGET);
var bundler = new Bundler("5.0.1", process.env.TARGET);

module.exports = bundler.bundle();
13 changes: 10 additions & 3 deletions dist/js/tabulator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Tabulator v5.0.0 (c) Oliver Folkerd 2021 */
/* Tabulator v5.0.1 (c) Oliver Folkerd 2021 */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
Expand Down Expand Up @@ -6337,7 +6337,7 @@
if (this.bindings[type] && this.bindings[type][name]) {
return this.bindings[type][name].bind(null, component);
} else {
if (name !== "then") {
if (name !== "then" && typeof name === "string" && !name.startsWith("_")) {
console.error("The " + type + " component does not have a " + name + " function, have you checked that you have the correct Tabulator module installed?");
}
}
Expand Down Expand Up @@ -7765,6 +7765,7 @@
this.modulesRegular = {}; //hold regular modules bound to this table (for initialization purposes)

this.optionsList = new OptionsList(this, "table constructor");
this.initialized = false;

if (this.initializeElement(element)) {
this.initialzeCoreSystems(options); //delay table creation to allow event bindings immediatly after the constructor
Expand Down Expand Up @@ -7878,6 +7879,8 @@
this._buildElement();

this._loadInitialData();

this.initialized = true;
} //clear pointers to objects in default config object

}, {
Expand Down Expand Up @@ -8069,7 +8072,11 @@
}, {
key: "setData",
value: function setData(data, params, config) {
return this.dataLoader.load(data, params, config, false);
if (this.initialized) {
return this.dataLoader.load(data, params, config, false);
} else {
console.warn("setData failed - table not yet initialized. To set initial data please use the 'data' property in the table constructor.");
}
} //clear data

}, {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/tabulator.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/tabulator.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/tabulator.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/tabulator_esm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Tabulator v5.0.0 (c) Oliver Folkerd 2021 */
/* Tabulator v5.0.1 (c) Oliver Folkerd 2021 */
class CoreFeature{

constructor(table){
Expand Down
4 changes: 2 additions & 2 deletions dist/js/tabulator_esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/tabulator_esm.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tabulator-tables",
"version": "5.0.0",
"version": "5.0.1",
"description": "Interactive table generation JavaScript library",
"style": "dist/css/tabulator.css",
"main": "dist/js/tabulator.js",
Expand Down

0 comments on commit 3e88ab3

Please sign in to comment.