Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 5f90016

Browse files
baseonmarsjuliemr
authored andcommitted
docs(repeater): fix repeater inline documentation to remove braces
1 parent ef0fbc0 commit 5f90016

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: lib/locators.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -320,11 +320,11 @@ function byRepeaterInner(exact) {
320320
*
321321
* // Returns the SPAN for the first cat's name.
322322
* var firstCatName = element(by.repeater('cat in pets').
323-
* row(0).column('{{cat.name}}'));
323+
* row(0).column('cat.name'));
324324
*
325325
* // Returns a promise that resolves to an array of WebElements from a column
326326
* var ages = element.all(
327-
* by.repeater('cat in pets').column('{{cat.age}}'));
327+
* by.repeater('cat in pets').column('cat.age'));
328328
*
329329
* // Returns a promise that resolves to an array of WebElements containing
330330
* // all top level elements repeated by the repeater. For 2 pets rows resolves
@@ -341,7 +341,7 @@ function byRepeaterInner(exact) {
341341
*
342342
* // Returns the H4 for the first book's name.
343343
* var firstBookName = element(by.repeater('book in library').
344-
* row(0).column('{{book.name}}'));
344+
* row(0).column('book.name'));
345345
*
346346
* // Returns a promise that resolves to an array of WebElements containing
347347
* // all top level elements repeated by the repeater. For 2 books divs

0 commit comments

Comments
 (0)