未验证 提交 40927735 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #13726 from dbkaplun/travis

Travis CI integration
......@@ -7,3 +7,4 @@ node_modules
npm-debug.log
.jshintrc
.vs/
test/unit/three.*.unit.js
language: node_js
node_js:
- "8.9.4"
script:
- npm run travis
......@@ -36,6 +36,7 @@
"start": "npm run dev",
"lint": "eslint src",
"test": "npm run build-test && qunit test/unit/three.source.unit.js",
"travis": "npm run lint && npm test",
"editor": "electron ./editor/main.js"
},
"keywords": [
......
......@@ -31,7 +31,7 @@ var _Math = {
lut[ d2 & 0x3f | 0x80 ] + lut[ d2 >> 8 & 0xff ] + '-' + lut[ d2 >> 16 & 0xff ] + lut[ d2 >> 24 & 0xff ] +
lut[ d3 & 0xff ] + lut[ d3 >> 8 & 0xff ] + lut[ d3 >> 16 & 0xff ] + lut[ d3 >> 24 & 0xff ];
// .toUpperCase() here flattens concatenated strings to save heap memory space.
// .toUpperCase() here flattens concatenated strings to save heap memory space.
return uuid.toUpperCase();
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册