浏览代码

Merge pull request #10116 from TristanVALCKE/utils_warning_fix

Utils warning fix
Mr.doob 8 年之前
父节点
当前提交
5e7f084a15
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 2 0
      utils/codestyle/codestyle.sh
  2. 2 2
      utils/servers/simplehttpserver.js

+ 2 - 0
utils/codestyle/codestyle.sh

@@ -1,2 +1,4 @@
+#!/bin/sh
+
 jscs "../.." --fix --config=./config.json --max-errors=1000000
 

+ 2 - 2
utils/servers/simplehttpserver.js

@@ -95,7 +95,7 @@ http.createServer(handleRequest).listen(port);
 
 require('dns').lookup(require('os').hostname(), function (err, addr, fam) {
  	console.log('Running at http://' + addr  + ((port === 80) ? '' : ':') + port + '/');
-})
+});
 
 console.log('Three.js server has started...');
-console.log('Base directory at ' + currentDir);
+console.log('Base directory at ' + currentDir);