Skip to content

Commit

Permalink
Get drawer seed stuff working again
Browse files Browse the repository at this point in the history
  • Loading branch information
longouyang committed Aug 3, 2016
1 parent cca75f1 commit d47a2b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,9 @@ var CodeEditor = React.createClass({

comp.setState({execution: 'running'});

var seed = _.now();
comp.setState({seed: seed});
util.seedRNG(seed);
wait(20, function() {
prepared.run()
})
Expand Down

0 comments on commit d47a2b4

Please sign in to comment.