Fix whitespace in Init.js

This commit is contained in:
Michael Sondergaard 2013-10-31 14:47:31 +01:00
parent 65509d7991
commit db7e3f618f

View file

@ -152,11 +152,11 @@ function initGraphics(elm, Module) {
signalGraph = Signal.constant(signalGraph);
}
var currentScene = signalGraph.value;
// Add the currentScene to the DOM
var Render = ElmRuntime.use(ElmRuntime.Render.Element);
elm.node.appendChild(Render.render(currentScene));
// set up updates so that the DOM is adjusted as necessary.
function domUpdate(newScene, currentScene) {
ElmRuntime.draw(function(_) {
@ -174,4 +174,4 @@ function initGraphics(elm, Module) {
return renderer;
}
}());
}());