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

Commit

Permalink
docs(repeater): fix repeater inline documentation to remove braces
Browse files Browse the repository at this point in the history
  • Loading branch information
baseonmars authored and juliemr committed Mar 16, 2015
1 parent ef0fbc0 commit 5f90016
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/locators.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,11 @@ function byRepeaterInner(exact) {
*
* // Returns the SPAN for the first cat's name.
* var firstCatName = element(by.repeater('cat in pets').
* row(0).column('{{cat.name}}'));
* row(0).column('cat.name'));
*
* // Returns a promise that resolves to an array of WebElements from a column
* var ages = element.all(
* by.repeater('cat in pets').column('{{cat.age}}'));
* by.repeater('cat in pets').column('cat.age'));
*
* // Returns a promise that resolves to an array of WebElements containing
* // all top level elements repeated by the repeater. For 2 pets rows resolves
Expand All @@ -341,7 +341,7 @@ function byRepeaterInner(exact) {
*
* // Returns the H4 for the first book's name.
* var firstBookName = element(by.repeater('book in library').
* row(0).column('{{book.name}}'));
* row(0).column('book.name'));
*
* // Returns a promise that resolves to an array of WebElements containing
* // all top level elements repeated by the repeater. For 2 books divs
Expand Down

0 comments on commit 5f90016

Please sign in to comment.