Skip to content

Commit

Permalink
Merge pull request #250 from GalRaz/patch-1
Browse files Browse the repository at this point in the history
fix typo in generateProtocol documentation
  • Loading branch information
Kim Scott committed Apr 27, 2021
2 parents 3dc0f94 + e88f96e commit d90b544
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/utils/protocol-generator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ What information it has access to

The ``generateProtocol`` function receives two arguments, ``child`` and ``pastSessions``.

The ``child`` and the elements of the array ``pastSessions`` are Ember objects and do not behave exactly like regular Javascript objects. Here

``child`` is an Ember object representing the child currently participating in this study. You can access the following fields using ``child.get(<fieldName>)``, e.g. ``child.get('givenName')``:
The ``child`` and the elements of the array ``pastSessions`` are Ember objects and do not behave exactly like regular Javascript objects. Here ``child`` is an Ember object representing the child currently participating in this study. You can access the following fields using ``child.get(<fieldName>)``, e.g. ``child.get('givenName')``:

* givenName (string)
* birthday (Date)
Expand Down

0 comments on commit d90b544

Please sign in to comment.