feature(cloudcmd) rm config option: minify

This commit is contained in:
coderaiser 2017-07-11 16:39:03 +03:00
parent 039b535098
commit 03dbb4489b
7 changed files with 2 additions and 20 deletions

View file

@ -77,7 +77,6 @@ Cloud Commander supports command line parameters:
| `--root` | set root directory
| `--prefix` | set url prefix
| `--port` | set port number
| `--minify` | enable minification
| `--progress` | show progress of file operations
| `--html-dialogs` | use html dialogs
| `--open` | open web browser when server started
@ -90,7 +89,6 @@ Cloud Commander supports command line parameters:
| `--no-auth` | disable authorization
| `--no-online` | load scripts from local server
| `--no-open` | do not open web browser when server started
| `--no-minify` | disable minification
| `--no-progress` | do not show progress of file operations
| `--no-html-dialogs` | do not use html dialogs
| `--no-one-panel-mode` | unset one panel mode
@ -309,7 +307,6 @@ Here is description of options:
"localStorage" : true, /* local storage */
"buffer" : true, /* buffer for copying files */
"dirStorage" : true, /* store directory listing to localStorage */
"minify" : false, /* minification of js,css,html and img */
"online" : true, /* load js files from cdn or local path */
"open" : false /* open web browser when server started */
"cache" : true, /* add cache-control */

View file

@ -36,7 +36,6 @@ const args = require('minimist')(argv.slice(2), {
'server',
'online',
'open',
'minify',
'progress',
'config-dialog',
'console',
@ -49,7 +48,6 @@ const args = require('minimist')(argv.slice(2), {
server : true,
auth : choose(env('auth'), config('auth')),
port : config('port'),
minify : config('minify'),
online : config('online'),
open : config('open'),
editor : env('editor') || config('editor'),
@ -100,7 +98,6 @@ function main() {
config('auth', args.auth);
config('online', args.online);
config('open', args.open);
config('minify', args.minify);
config('username', args.username);
config('progress', args.progress);
config('console', args.console);

View file

@ -10,7 +10,6 @@
"localStorage": true,
"buffer": true,
"dirStorage": false,
"minify": false,
"online": true,
"open": false,
"cache": true,

View file

@ -13,7 +13,6 @@
"--root ": "set root directory",
"--prefix ": "set url prefix",
"--port ": "set port number",
"--minify ": "enable minification",
"--progress ": "show progress of file operations",
"--html-dialogs ": "use html dialogs",
"--one-panel-mode ": "set one panel mode",
@ -26,7 +25,6 @@
"--no-auth ": "disable authorization",
"--no-online ": "load scripts from local server",
"--no-open ": "do not open web browser when server started",
"--no-minify ": "disable minification",
"--no-progress ": "do not show progress of file operations",
"--no-html-dialogs ": "do not use html dialogs",
"--no-one-panel-mode ": "unset one panel mode",

View file

@ -36,7 +36,6 @@ programs in browser from any computer, mobile or tablet device.
--root set root directory
--prefix set url prefix
--port set port number
--minify enable minification
--progress show progress of file operations
--html-dialogs use html dialogs
--open open web browser when server started
@ -49,7 +48,6 @@ programs in browser from any computer, mobile or tablet device.
--no-server do not start server
--no-online load scripts from local server
--no-open do not open web browser when server started
--no-minify disable minification
--no-progress do not show progress of file operations
--no-html-dialogs do not use html dialogs
--no-one-panel-mode unset one panel mode

View file

@ -193,7 +193,6 @@ function cloudcmd(prefix, plugins, modules) {
return config(name);
};
const minify = apart(isOption, 'minify');
const online = apart(isOption, 'online');
const cache = apart(isOption, 'cache');
const diff = apart(isOption, 'diff');
@ -275,8 +274,8 @@ function cloudcmd(prefix, plugins, modules) {
route,
join({
dir : DIR_ROOT,
minify,
dir: DIR_ROOT,
minify: false,
}),
pluginer(plugins),

View file

@ -70,12 +70,6 @@
Directory Storage
</label>
</li>
<li>
<label>
<input data-name="js-minify" type="checkbox" {{ minify }}>
Minify
</label>
</li>
<li>
<label>
<input data-name="js-online" type="checkbox" {{ online }}>