diff --git a/.eslintrc.js b/.eslintrc.js index e62997fcf..76b691f34 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,6 +16,7 @@ module.exports = { rules: { 'indent': ['error', 2], 'max-len': ['error', 180], - 'no-trailing-spaces': 'error' + 'no-trailing-spaces': 'error', + 'prefer-const': 0 } }; diff --git a/README.md b/README.md index a8df5ad0e..b9b9101e2 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ GridStack.init( {column: N} ); 2) include `gridstack-extra.css` if **N < 12** (else custom CSS - see next). Without these, things will not render/work correctly. ```html - +
...
``` diff --git a/demo/advance.html b/demo/advance.html index ec71a386e..3bb6c31d9 100644 --- a/demo/advance.html +++ b/demo/advance.html @@ -13,10 +13,7 @@ - - - - +
@@ -30,6 +23,12 @@

Float grid demo

- - - - - +
diff --git a/demo/nested.html b/demo/nested.html index 17203189b..116f88485 100644 --- a/demo/nested.html +++ b/demo/nested.html @@ -7,12 +7,7 @@ Nested grids demo - - - - - - + - - - - - +
diff --git a/demo/serialization.html b/demo/serialization.html index f5f11031a..5fa56121f 100644 --- a/demo/serialization.html +++ b/demo/serialization.html @@ -7,11 +7,7 @@ Serialization demo - - - - - +
diff --git a/demo/two.html b/demo/two.html index da0c540dc..8c58335ff 100644 --- a/demo/two.html +++ b/demo/two.html @@ -9,11 +9,7 @@ - - - - - +