Skip to content

Commit e1c669d

Browse files
committed
Updated comments.
1 parent 2bdf94d commit e1c669d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/_posts/accessing-the-external-browser.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ function init ()
310310
$("#change-background") .on ("change", changeBackground);
311311
$("#spin") .on ("click", spin);
312312
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.
315315
timer .getField ("cycleTime") .addFieldCallback ("time", value =>
316316
{
317317
console .log ("cycleTime: " + value);
@@ -342,8 +342,8 @@ function changeStyle ()
342342
function changeBackground ()
343343
{
344344
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.
347347
348348
switch (parseInt ($("#change-background") .val ()))
349349
{

0 commit comments

Comments
 (0)