on master help sign in
Fix whitespace in Init.js
db7e3f6Michael Sondergaard
runtime/Init.js+3−3
@@ -152,11 +152,11 @@ function initGraphics(elm, Module) {
152 signalGraph = Signal.constant(signalGraph);
152 signalGraph = Signal.constant(signalGraph);
153 }
153 }
154 var currentScene = signalGraph.value;
154 var currentScene = signalGraph.value;
155−
155+
156 // Add the currentScene to the DOM
156 // Add the currentScene to the DOM
157 var Render = ElmRuntime.use(ElmRuntime.Render.Element);
157 var Render = ElmRuntime.use(ElmRuntime.Render.Element);
158 elm.node.appendChild(Render.render(currentScene));
158 elm.node.appendChild(Render.render(currentScene));
159−
159+
160 // set up updates so that the DOM is adjusted as necessary.
160 // set up updates so that the DOM is adjusted as necessary.
161 function domUpdate(newScene, currentScene) {
161 function domUpdate(newScene, currentScene) {
162 ElmRuntime.draw(function(_) {
162 ElmRuntime.draw(function(_) {
@@ -174,4 +174,4 @@ function initGraphics(elm, Module) {
174 return renderer;
174 return renderer;
175}
175}
176
176
177−}());
177+}());