diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..0ed80365 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +end_of_line = lf +charset = utf-8 +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/assets/css/template.css b/assets/css/template.css index b4bd45d6..85861dc1 100644 --- a/assets/css/template.css +++ b/assets/css/template.css @@ -27,7 +27,7 @@ body { .header-wrapper { -js-display: flex; - display: flex; + display: flex; } .title-desc { diff --git a/assets/js/template.js b/assets/js/template.js index fa6836b1..4f672fd9 100644 --- a/assets/js/template.js +++ b/assets/js/template.js @@ -1,7 +1,7 @@ window._config = { isDebug: location.hash.slice(1) === 'is-debug' || ['localhost', '127.0.0.1', 'dev.bootstrap-table.com'].indexOf(location.hostname) > -1, - cdnUrl: 'https://cdn.jsdelivr.net/npm/bootstrap-table@1.22.4/dist/', + cdnUrl: 'https://cdn.jsdelivr.net/npm/bootstrap-table@1.22.5/dist/', localUrl: '../bootstrap-table/src/', testUrl: '/src/' } @@ -16,7 +16,7 @@ function _getLink(file) { file.replace(/\.min/, '') + '?t=' + (+new Date()) } } - return '' + return '' } function _getScript(file, isScriptTag) { diff --git a/crud/db.json b/crud/db.json index 5796c15e..890b68f7 100644 --- a/crud/db.json +++ b/crud/db.json @@ -36,4 +36,4 @@ "description": "my blog" } ] -} \ No newline at end of file +} diff --git a/crud/index.html b/crud/index.html index 11f4b4e3..55b130a7 100644 --- a/crud/index.html +++ b/crud/index.html @@ -3,9 +3,9 @@
-
-
+
+
diff --git a/utils/natural-sorting/dist/natural-sorting.js b/utils/natural-sorting/dist/natural-sorting.js
index 38d94879..a48a6352 100644
--- a/utils/natural-sorting/dist/natural-sorting.js
+++ b/utils/natural-sorting/dist/natural-sorting.js
@@ -68,4 +68,4 @@ function numericOnly(a, b) {
}
return stripNonNumber(a) - stripNonNumber(b);
-}
\ No newline at end of file
+}
diff --git a/utils/natural-sorting/src/natural-sorting.js b/utils/natural-sorting/src/natural-sorting.js
index 47c51eba..fb289ec9 100644
--- a/utils/natural-sorting/src/natural-sorting.js
+++ b/utils/natural-sorting/src/natural-sorting.js
@@ -55,7 +55,7 @@ function alphanum (a, b) {
function numericOnly (a, b) {
function stripNonNumber (s) {
- s = s.replace(/^(-)|[.,](?=[^.,]*[.,](?!$))|[,.]+$|[^0-9.,]+/g, '$1');
+ s = s.replace(/^(-)|[.,](?=[^.,]*[.,](?!$))|[,.]+$|[^0-9.,]+/g, '$1')
return parseInt(s, 10)
}
diff --git a/vue-starter/package.json b/vue-starter/package.json
index fa91081c..4919fddc 100644
--- a/vue-starter/package.json
+++ b/vue-starter/package.json
@@ -9,7 +9,7 @@
},
"dependencies": {
"bootstrap": "^4.5.0",
- "bootstrap-table": "^1.22.4",
+ "bootstrap-table": "^1.22.5",
"bootstrap-vue": "^2.15.0",
"core-js": "^3.6.5",
"jquery": "^3.5.1",
diff --git a/vue-starter/public/index.html b/vue-starter/public/index.html
index 84899b4f..48bd56b2 100644
--- a/vue-starter/public/index.html
+++ b/vue-starter/public/index.html
@@ -5,7 +5,7 @@
-
+