on master help sign in
Fix whitespace in Init.js
commitdb7e3f618fb90859efc99b050d0c1ff544c2202d authorMichael Sondergaard <msond@cs.au.dk> dateThu 31 Oct 2013, 14:47 (13 years ago) parent65509d7
1 file changed+3−3
runtime/Init.js+3−3
runtime/Init.js+3−3
@@ -152,11 +152,11 @@ function initGraphics(elm, Module) {
152152 signalGraph = Signal.constant(signalGraph);
153153 }
154154 var currentScene = signalGraph.value;
155−
155+
156156 // Add the currentScene to the DOM
157157 var Render = ElmRuntime.use(ElmRuntime.Render.Element);
158158 elm.node.appendChild(Render.render(currentScene));
159−
159+
160160 // set up updates so that the DOM is adjusted as necessary.
161161 function domUpdate(newScene, currentScene) {
162162 ElmRuntime.draw(function(_) {
@@ -174,4 +174,4 @@ function initGraphics(elm, Module) {
174174 return renderer;
175175}
176176
177−}());
177+}());