Skip to content

Commit

Permalink
chore: remove chinese commnets (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse authored and popomore committed Apr 13, 2017
1 parent 3bdbcae commit d6be949
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions app/extend/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module.exports = {
return false;
},

// 关于如何安全地读取 query 参数的讨论
// How to read query safely
// https://github.com/koajs/qs/issues/5
_customQuery(cacheName, filter) {
const str = this.querystring;
Expand Down Expand Up @@ -178,7 +178,7 @@ module.exports = {
},

/**
* 获取当前请求以 querystring 传递的参数,所有参数值都以 String 类型返回
* get params pass by querystring, all value are String type.
* @member {Object} Request#query
* @example
* ```js
Expand All @@ -202,7 +202,7 @@ module.exports = {
},

/**
* 获取当前请求以 querystring 传递的参数,所有参数值都以 Array 类型返回,类似 {@link Request#query}
* get params pass by querystring, all value are Array type. {@link Request#query}
* @member {Array} Request#queries
* @example
* ```js
Expand Down
6 changes: 1 addition & 5 deletions lib/loader/agent_worker_loader.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
/**
* AgentWorkerLoader 类,继承 BaseLoader,实现整个应用的加载机制
*/

'use strict';

const EggLoader = require('egg-core').EggLoader;

/**
* Agent Worker 进程的 Loader,继承 egg-loader
* Agent worker process loader
* @see https://github.com/eggjs/egg-loader
*/
class AgentWorkerLoader extends EggLoader {
Expand Down
2 changes: 1 addition & 1 deletion lib/loader/app_worker_loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const EggLoader = require('egg-core').EggLoader;

/**
* App Worker process Loader, will load plugins
* App worker process Loader, will load plugins
* @see https://github.com/eggjs/egg-loader
*/
class AppWorkerLoader extends EggLoader {
Expand Down

0 comments on commit d6be949

Please sign in to comment.