File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -310,8 +310,8 @@ function init ()
310
310
$ (" #change-background" ) .on (" change" , changeBackground);
311
311
$ (" #spin" ) .on (" click" , spin);
312
312
313
- // Add field callback to get informed when cycleTime is fired. "time" is an arbitrary
314
- // string to identify the callback, for instance if you later want to remove the callback.
313
+ // Add a field callback to be notified when cycleTime is fired. "time" is an arbitrary
314
+ // string to identify the callback, for example if you want to remove the callback later .
315
315
timer .getField (" cycleTime" ) .addFieldCallback (" time" , value =>
316
316
{
317
317
console .log (" cycleTime: " + value);
@@ -342,8 +342,8 @@ function changeStyle ()
342
342
function changeBackground ()
343
343
{
344
344
const
345
- scene = Browser .currentScene , // Get the scene.
346
- backgroundNode = scene .getNamedNode (" Background" ); // Get Background node.
345
+ scene = Browser .currentScene , // Get the scene.
346
+ backgroundNode = scene .getNamedNode (" Background" ); // Get Background node.
347
347
348
348
switch (parseInt ($ (" #change-background" ) .val ()))
349
349
{
You can’t perform that action at this time.
0 commit comments