style: format file

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-04-23 18:56:34 +08:00
parent 93d7389047
commit b611da5e27
16 changed files with 98 additions and 185 deletions

View File

@ -3,7 +3,7 @@ function ServerHandlerDefault() {
/**
* 获取在线玩家
*/
this.players = function () {
this.players = function() {
switch (arguments.length) {
case 1:
if (toString.call(arguments[0]) !== "[object Function]") { throw TypeError('first argument must be a function!') }