Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions examples/textConnect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@

## OSS License

* jQuery - https://jquery.com/
* Author: jQuery Foundation, Inc.
* License: [MIT License](https://github.com/jquery/jquery/blob/3.3.1/LICENSE.txt)
* JsRender - https://www.jsviews.com/
* SweetAlert2 11.23.0 - https://github.com/sweetalert2/sweetalert2
* Distribution: thirdparties/sweetalert2.min.js, thirdparties/sweetalert2.min.css (bundled in plugin; config screen only)
* Author: Tristan Edwards, Limon Monte
* License: [MIT License](https://github.com/sweetalert2/sweetalert2/blob/v11.23.0/LICENSE)
* JsRender 0.9.86 - https://www.jsviews.com/
* Distribution: thirdparties/jsrender.min.js (bundled in plugin; config screen only)
* Author: Boris Moore
* License: [MIT License](https://github.com/BorisMoore/jsrender/blob/v0.9.86/MIT-LICENSE.txt)
* SweetAlert - https://t4t5.github.io/sweetalert/
* Author: Tristan Edwards
* License: [MIT License](https://github.com/t4t5/sweetalert/blob/v1.1.3/LICENSE)
* 51-modern-default - https://cybozu.dev/ja/kintone/sdk/library/plugin-stylesheet-guide/
* Author: Cybozu, Inc.
* License: [MIT License](https://github.com/kintone-samples/plugin-samples#licence)
10 changes: 4 additions & 6 deletions examples/textConnect/config_js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,11 @@
cf.value = CONF[`copyfield${i}`];
}
for (let i = 1; i <= 3; i++) {
if (CONF[`copyfield${i}`] !== '') {
const bw = document.getElementById(`between${i}`);
bw.value = decodeSpace(ConF[`between${i}`])

const bw = document.getElementById(`between${i}`);
if (CONF[`between${i}`]) {
bw.value = decodeSpace(CONF[`between${i}`]);
} else {
const bw = document.getElementById(`between${i}`);
bw.value = (ConF[`between${i}`])
bw.value = CONF[`between${i}`] || '';
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions examples/textConnect/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 1,
"version": "1.3.7",
"version": "1.3.8",
"type": "APP",
"name": {
"ja": "文字結合プラグイン",
Expand Down Expand Up @@ -31,13 +31,13 @@
"config":{
"html": "contents/setting.html",
"js": [
"https://js.cybozu.com/sweetalert2/v11.23.0/sweetalert2.min.js",
"https://js.cybozu.com/jsrender/0.9.86/jsrender.min.js",
"thirdparties/sweetalert2.min.js",
"thirdparties/jsrender.min.js",
"config_js/config.js"
],
"css": [
"config_css/51-modern-default.css",
"https://js.cybozu.com/sweetalert2/v11.23.0/sweetalert2.min.css"
"thirdparties/sweetalert2.min.css"
],
"required_params": []
}
Expand Down
105 changes: 0 additions & 105 deletions examples/textConnect/package.sh

This file was deleted.

4 changes: 4 additions & 0 deletions examples/textConnect/thirdparties/jsrender.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/textConnect/thirdparties/sweetalert2.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions examples/textConnect/thirdparties/sweetalert2.min.js

Large diffs are not rendered by default.