Skip to content

Commit

Permalink
Updated @tweenjs/tween.js to get memory usage improvements. Also, upd…
Browse files Browse the repository at this point in the history
…ated three.js. WARNING! something buggy in tween versions newer than 16.8.0. I tested and it is not related to updating three.js.
  • Loading branch information
aSqrd-eSqrd authored and Justin Reynolds committed Jul 20, 2019
1 parent 017dc76 commit 4066aac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@tweenjs/tween.js": "^16.8.0",
"bootstrap": "^3.3.7",
"flux": "^3.1.0",
"hammerjs": "^2.0.8",
Expand All @@ -34,7 +35,7 @@
"socket.io-client": "^1.5.1",
"source-sans-pro": "^2.0.10",
"superagent": "^3.0.0",
"tween.js": "^16.3.5",
"three": "^0.106.2",
"vizceral-react": "^4.6.4",
"webfontloader": "^1.6.26"
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/loadingCover.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import React from 'react';
import PropTypes from 'prop-types';
import TWEEN from 'tween.js';
import TWEEN from '@tweenjs/tween.js';

import './loadingCover.css';

Expand Down
2 changes: 1 addition & 1 deletion src/components/trafficFlow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import _ from 'lodash';
import { Alert } from 'react-bootstrap';
import React from 'react';
import TWEEN from 'tween.js'; // Start TWEEN updates for sparklines and loading screen fading out
import TWEEN from '@tweenjs/tween.js'; // Start TWEEN updates for sparklines and loading screen fading out
import Vizceral from 'vizceral-react';
import 'vizceral-react/dist/vizceral.css';
import keypress from 'keypress.js';
Expand Down

0 comments on commit 4066aac

Please sign in to comment.