diff --git a/client/dom/rest.js b/client/dom/rest.js index 01904f0c..7281c2cd 100644 --- a/client/dom/rest.js +++ b/client/dom/rest.js @@ -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) { diff --git a/client/modules/edit-file.js b/client/modules/edit-file.js index f2153e2c..05207fa8 100644 --- a/client/modules/edit-file.js +++ b/client/modules/edit-file.js @@ -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(); }, diff --git a/package.json b/package.json index 88fec9ec..87645078 100644 --- a/package.json +++ b/package.json @@ -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",