Skip to content

Commit e355408

Browse files
jjasghardceejay
authored andcommitted
Update first-flow.md (#112)
Walked through this tutorial, and changes some things to be more explicit.
1 parent ebd3764 commit e355408

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/getting-started/first-flow.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ of one to the input port of the other.
3636
At this point, the nodes only exist in the editor and must be deployed to the
3737
server.
3838

39-
Click the Deploy button. Simple as that.
39+
Click the Deploy button.
4040

4141
With the Debug sidebar tab selected, click the Inject button. You should see
4242
numbers appear in the sidebar. By default, the Inject node uses the number of
@@ -47,10 +47,11 @@ useful with that.
4747

4848
The Function node allows you to pass each message though a JavaScript function.
4949

50-
Wire the Function node in between the Inject and Debug nodes. You may need to
51-
delete the existing wire (select it and hit delete on the keyboard).
50+
Delete the existing wire (select it and hit delete on the keyboard).
5251

53-
Double-click on the Function node to bring up the edit dialog. Copy the follow
52+
Wire the Function node in between the Inject and Debug nodes.
53+
54+
Double-click on the Function node to bring up the edit dialog. Copy the following
5455
code into the function field:
5556

5657
{% highlight javascript %}
@@ -62,7 +63,7 @@ msg.payload = date.toString();
6263
return msg;
6364
{% endhighlight %}
6465

65-
Click Ok to close the edit dialog and then click the deploy button.
66+
Click Done to close the edit dialog and then click the deploy button.
6667

6768
Now when you click the Inject button, the messages in the sidebar will be more
6869
readable time stamps.

0 commit comments

Comments
 (0)