feature(cloudcmd) drop support of beautify, minify

This commit is contained in:
coderaiser 2019-04-01 15:46:36 +03:00
parent 009628c3ee
commit 31e8c85d99
3 changed files with 5 additions and 14 deletions

View file

@ -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) {

View file

@ -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();
},

View file

@ -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",