Skip to content

Commit

Permalink
Fix Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha240100 committed Jun 30, 2017
1 parent f8e93e3 commit a9aa4d6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"dependencies": {
"@types/node": "^8.0.4",
"lodash-es": "^4.17.4",
"three": "^0.86.0",
"minivents": "^2.1.0"
"minivents": "^2.1.0",
"three": "^0.86.0"
},
"devDependencies": {
"babel": "^6.23.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/__tests__/line.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ describe('Line', () => {
const line = new WHS.Line();
expect(line.geometry.curve).toBe(undefined);
expect(line.geometry.vertices[0]).toEqual({x: 0, y: 0, z: 0});
expect(line.geometry.vertices[1]).toEqual({x: 10, y: 0, z: 0});
expect(line.geometry.vertices[50]).toEqual({x: 10, y: 0, z: 0});
});
});
4 changes: 2 additions & 2 deletions src/components/meshes/Line.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Line extends MeshComponent {
* @default <pre>
* {
* geometry: {
* curve: new THREE.LineCurve3(new THREE.Vector3(10, 10, 0), new THREE.Vector3(10, 30, 0)),
* curve: new LineCurve3(new Vector3(0, 0, 0), new Vector3(10, 0, 0)),
* points: 50
* }
* }
Expand All @@ -44,7 +44,7 @@ class Line extends MeshComponent {
static defaults = {
...MeshComponent.defaults,
geometry: {
curve: new LineCurve3(new Vector3(10, 10, 0), new Vector3(10, 30, 0)),
curve: new LineCurve3(new Vector3(0, 0, 0), new Vector3(10, 0, 0)),
points: 50
}
};
Expand Down

0 comments on commit a9aa4d6

Please sign in to comment.