Unbind things from v7

PUBLISHED_FROM=d20f138ae37c99a34cc29e7bfb327d7834404d93
This commit is contained in:
Бобби authored and Cesanta Bot committed 2017-10-18 16:05:25 +00:00
1 parent 8193302162
commit 8313896a85
2 files changed
-10

No files matched your search

-5
View File
@@ -75,11 +75,6 @@ int main(int argc, char *argv[]) {
s_http_port = argv[++i];
} else if (strcmp(argv[i], "-a") == 0 && i + 1 < argc) {
s_http_server_opts.auth_domain = argv[++i];
#if MG_ENABLE_JAVASCRIPT
} else if (strcmp(argv[i], "-j") == 0 && i + 1 < argc) {
const char *init_file = argv[++i];
mg_enable_javascript(&mgr, v7_create(), init_file);
#endif
} else if (strcmp(argv[i], "-P") == 0 && i + 1 < argc) {
s_http_server_opts.global_auth_file = argv[++i];
} else if (strcmp(argv[i], "-A") == 0 && i + 1 < argc) {