Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Commit

Permalink
feat: キーボードを畳んだらトゥートボックスを閉じる
Browse files Browse the repository at this point in the history
  • Loading branch information
nzws committed Sep 3, 2018
1 parent 363413b commit 5d07115
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 67 deletions.
136 changes: 69 additions & 67 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,70 +1,72 @@
{
"name": "knzkapp",
"version": "1.0.0",
"description": "A mastodon client for customized instances.",
"repository": "git@github.com:KnzkDev/KnzkApp.git",
"author": "KnzkDev Team",
"license": "SEE LICENSE IN LICENSE.md",
"private": true,
"scripts": {
"lint:html": "htmlhint",
"lint:css": "stylelint www/css/*.css",
"lint:js": "eslint **/*.js",
"lint": "npm-run-all lint:* -s",
"format:css": "prettier www/css/*.css --write",
"format:js": "eslint **/*.js --fix",
"format": "npm-run-all format:* -s"
},
"cordova": {
"plugins": {
"monaca-plugin-monaca-core": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-splashscreen": {},
"cordova-custom-config": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-camera": {
"CAMERA_USAGE_DESCRIPTION": "This operation needs camera access to take pictures.",
"PHOTOLIBRARY_USAGE_DESCRIPTION": "This operation needs photo library access to get pictures."
},
"cordova-plugin-safariviewcontroller": {},
"cordova-plugin-customurlscheme": {
"URL_SCHEME": "knzkapp"
},
"cordova-plugin-fcm": {},
"cordova-clipboard": {},
"cordova-plugin-file": {},
"cordova-plugin-ipad-multitasking": {},
"cordova-plugin-globalization": {},
"phonegap-plugin-speech-synthesis": {}
}
},
"dependencies": {
"cordova-clipboard": "git+https://github.com/KnzkApp/cordova-clipboard",
"cordova-custom-config": "5.0.2",
"cordova-plugin-camera": "^4.0.3",
"cordova-plugin-customurlscheme": "^4.3.0",
"cordova-plugin-fcm": "git+https://github.com/KnzkApp/cordova-plugin-fcm",
"cordova-plugin-file": "^6.0.1",
"cordova-plugin-globalization": "1.11.0",
"cordova-plugin-inappbrowser": "^3.0.0",
"cordova-plugin-ipad-multitasking": "git+https://github.com/KnzkApp/cordova-plugin-ipad-multitasking",
"cordova-plugin-safariviewcontroller": "^1.5.3",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-whitelist": "^1.3.3",
"monaca-plugin-monaca-core": "^3.2.0",
"phonegap-plugin-speech-synthesis": "git+https://github.com/KnzkApp/SpeechSynthesisPlugin"
},
"devDependencies": {
"eslint": "^5.5.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-prettier": "^2.6.2",
"htmlhint": "^0.9.13",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.2",
"prettier-stylelint": "^0.4.2",
"stylelint": "^9.5.0",
"stylelint-config-standard": "^18.2.0"
"name": "knzkapp",
"version": "1.0.0",
"description": "A mastodon client for customized instances.",
"repository": "git@github.com:KnzkDev/KnzkApp.git",
"author": "KnzkDev Team",
"license": "SEE LICENSE IN LICENSE.md",
"private": true,
"scripts": {
"lint:html": "htmlhint",
"lint:css": "stylelint www/css/*.css",
"lint:js": "eslint **/*.js",
"lint": "npm-run-all lint:* -s",
"format:css": "prettier www/css/*.css --write",
"format:js": "eslint **/*.js --fix",
"format": "npm-run-all format:* -s"
},
"cordova": {
"plugins": {
"monaca-plugin-monaca-core": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-splashscreen": {},
"cordova-custom-config": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-camera": {
"CAMERA_USAGE_DESCRIPTION": "This operation needs camera access to take pictures.",
"PHOTOLIBRARY_USAGE_DESCRIPTION": "This operation needs photo library access to get pictures."
},
"cordova-plugin-safariviewcontroller": {},
"cordova-plugin-customurlscheme": {
"URL_SCHEME": "knzkapp"
},
"cordova-plugin-fcm": {},
"cordova-clipboard": {},
"cordova-plugin-file": {},
"cordova-plugin-ipad-multitasking": {},
"cordova-plugin-globalization": {},
"phonegap-plugin-speech-synthesis": {},
"cordova-plugin-ionic-keyboard": {}
}
},
"dependencies": {
"cordova-clipboard": "git+https://github.com/KnzkApp/cordova-clipboard",
"cordova-custom-config": "5.0.2",
"cordova-plugin-camera": "^4.0.3",
"cordova-plugin-customurlscheme": "^4.3.0",
"cordova-plugin-fcm": "git+https://github.com/KnzkApp/cordova-plugin-fcm",
"cordova-plugin-file": "^6.0.1",
"cordova-plugin-globalization": "1.11.0",
"cordova-plugin-inappbrowser": "^3.0.0",
"cordova-plugin-ipad-multitasking": "git+https://github.com/KnzkApp/cordova-plugin-ipad-multitasking",
"cordova-plugin-safariviewcontroller": "^1.5.3",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-whitelist": "^1.3.3",
"monaca-plugin-monaca-core": "^3.2.0",
"phonegap-plugin-speech-synthesis": "git+https://github.com/KnzkApp/SpeechSynthesisPlugin",
"cordova-plugin-ionic-keyboard": "^2.1.2"
},
"devDependencies": {
"eslint": "^5.5.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-prettier": "^2.6.2",
"htmlhint": "^0.9.13",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.2",
"prettier-stylelint": "^0.4.2",
"stylelint": "^9.5.0",
"stylelint-config-standard": "^18.2.0"
}
}
4 changes: 4 additions & 0 deletions www/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,10 @@ function initevent() {
}
});

window.addEventListener('keyboardWillHide', () => {
simple_close();
});

document.addEventListener('postopen', function(event) {
account_list();
reset_nav();
Expand Down

0 comments on commit 5d07115

Please sign in to comment.