mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(main) rm http, https, querystring
This commit is contained in:
parent
e5e716de3c
commit
6dbcac0752
2 changed files with 5 additions and 7 deletions
|
|
@ -17,13 +17,14 @@
|
|||
var main = global.cloudcmd.main,
|
||||
|
||||
DIR = './',
|
||||
DIR_LIB = DIR + '../',
|
||||
|
||||
https = main.https,
|
||||
qs = main.querystring,
|
||||
https = require('https'),
|
||||
qs = require('querystring'),
|
||||
pipe = require(DIR + 'pipe'),
|
||||
|
||||
Modules = main.modules,
|
||||
Util = main.util,
|
||||
Util = require(DIR_LIB + 'util'),
|
||||
|
||||
GithubAuth = {
|
||||
host: 'github.com',
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
SLASH,
|
||||
ext,
|
||||
path, zlib, url, CloudFunc, diffPatch, querystring,
|
||||
path, zlib, url, CloudFunc, diffPatch,
|
||||
|
||||
Config = {
|
||||
server : true,
|
||||
|
|
@ -20,11 +20,8 @@
|
|||
|
||||
/* Native Modules*/
|
||||
exports.child_process = require('child_process'),
|
||||
exports.http = require('http'),
|
||||
exports.https = require('https'),
|
||||
exports.path = path = require('path'),
|
||||
exports.url = url = require('url'),
|
||||
exports.querystring = querystring = require('querystring'),
|
||||
|
||||
/* Constants */
|
||||
exports.SLASH = SLASH = '/',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue