Fix whitespace in Init.js
This commit is contained in:
parent
65509d7991
commit
db7e3f618f
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}());
|
||||
}());
|
||||
|
|
Loading…
Reference in a new issue