mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(cloudcmd) drop support of beautify, minify
This commit is contained in:
parent
009628c3ee
commit
31e8c85d99
3 changed files with 5 additions and 14 deletions
|
|
@ -78,10 +78,7 @@ function RESTful() {
|
|||
};
|
||||
|
||||
this.read = (url, dataType, callback) => {
|
||||
const isQuery = /\?/.test(url);
|
||||
const isBeautify = /\?beautify$/.test(url);
|
||||
const isMinify = /\?minify$/.test(url);
|
||||
const notLog = !isQuery || isBeautify || isMinify;
|
||||
const notLog = !url.includes('?');
|
||||
const isFunc = itype.function(dataType);
|
||||
|
||||
if (!callback && isFunc) {
|
||||
|
|
|
|||
|
|
@ -170,12 +170,6 @@ function getMenuData() {
|
|||
'Select All Ctrl+A' : () => {
|
||||
editor.selectAll();
|
||||
},
|
||||
'Beautify Ctrl+B' : () => {
|
||||
editor.beautify();
|
||||
},
|
||||
'Minify Ctrl+M' : () => {
|
||||
editor.minify();
|
||||
},
|
||||
'Close Esc' : () => {
|
||||
hide();
|
||||
},
|
||||
|
|
|
|||
|
|
@ -96,9 +96,9 @@
|
|||
"criton": "^2.0.0",
|
||||
"currify": "^3.0.0",
|
||||
"deepmerge": "^3.0.0",
|
||||
"deepword": "^5.1.0",
|
||||
"dword": "^9.1.0",
|
||||
"edward": "^9.1.0",
|
||||
"deepword": "^6.0.0",
|
||||
"dword": "^10.0.0",
|
||||
"edward": "^10.0.0",
|
||||
"execon": "^1.2.0",
|
||||
"express": "^4.13.0",
|
||||
"files-io": "^3.0.0",
|
||||
|
|
@ -122,7 +122,7 @@
|
|||
"ponse": "^3.0.0",
|
||||
"pullout": "^3.0.0",
|
||||
"rendy": "^2.0.0",
|
||||
"restafary": "^5.0.0",
|
||||
"restafary": "^6.0.0",
|
||||
"restbox": "^1.0.1",
|
||||
"shortdate": "^1.2.0",
|
||||
"socket.io": "^2.0.3",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue