JogoShugh / SpaceMiner

SpaceMiner
http://spaceminer.azurewebsites.net
Other
4 stars 4 forks source link

Prevent Babel translated code from showing up inside the editor under build world view #47

Closed JogoShugh closed 9 years ago

JogoShugh commented 9 years ago

The Babel translated code is showing up when you Edit a world. This does not happen in Training levels because we round trip the code to the server, which we probably don't need to do anymore given that we have the browser version now included.

In any case, we do not want the translated code to appear in the editor.

JogoShugh commented 9 years ago

Fixed by commenting out the transpilation on the LevelUpdate meteor method in server.js