Skip to content

Commit

Permalink
Merge pull request #108 from VisActor/103-operation-simplify-the-demo…
Browse files Browse the repository at this point in the history
…-in-readme

103 operation simplify the demo in readme
  • Loading branch information
fangsmile authored Jul 6, 2023
2 parents 8dade4a + 9066b43 commit 734e7e9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 17 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,32 +99,28 @@ const columns =[
];

const option = {
parentElement: document.getElementById(Table_CONTAINER_DOM_ID),
parentElement: document.getElementById(CONTAINER_ID),
records:[
{
{
"230517143221027": "CA-2018-156720",
"230517143221030": "JM-15580",
"230517143221032": "Bagged Rubber Bands",
"230517143221040": "3.024",
"230517143221041": "-0.605"
},
{
},
{
"230517143221027": "CA-2018-115427",
"230517143221030": "EB-13975",
"230517143221032": "GBC Binding covers",
"230517143221040": "20.72",
"230517143221041": "6.475"
},
...
},
// ...
],
columns,
widthMode:'standard'
};
const tableInstance = new VTable.ListTable(option);




```

##
Expand Down
13 changes: 6 additions & 7 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,26 +97,25 @@ const columns =[
];

const option = {
parentElement: document.getElementById(Table_CONTAINER_DOM_ID),
parentElement: document.getElementById(CONTAINER_ID),
records:[
{
{
"230517143221027": "CA-2018-156720",
"230517143221030": "JM-15580",
"230517143221032": "Bagged Rubber Bands",
"230517143221040": "3.024",
"230517143221041": "-0.605"
},
{
},
{
"230517143221027": "CA-2018-115427",
"230517143221030": "EB-13975",
"230517143221032": "GBC Binding covers",
"230517143221040": "20.72",
"230517143221041": "6.475"
},
...
},
// ...
],
columns,
widthMode:'standard'
};
const tableInstance = new VTable.ListTable(option);

Expand Down
1 change: 1 addition & 0 deletions common/autoinstallers/lint/commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'header-min-length': [2, 'always', 16],
'not-allowed-chars': [2, 'always']
},
plugins: [
Expand Down

0 comments on commit 734e7e9

Please sign in to comment.