Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
smizell committed Jun 17, 2015
1 parent e2c7ca6 commit 71b64e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,11 @@ var numbers = arrayElement.find(function(el) {

##### findByClass

The `findByClass` method traverses the entire descendent element tree and returns `ArrayElement` of all elements that match the given element name.
The `findByClass` method traverses the entire descendent element tree and returns an `ArrayElement` of all elements that match the given element name.

##### findByElement

The `findByElement` method traverses the entire descendent element tree and returns `ArrayElement` of all elements that match the given class.
The `findByElement` method traverses the entire descendent element tree and returns an `ArrayElement` of all elements that match the given class.

##### children

Expand Down
6 changes: 3 additions & 3 deletions test/primitives-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ describe('Minim Primitives', function() {

describe('#find', function() {
it('returns the correct number of items', function() {
expect(recursiveStrings.length).to.equal(4);
expect(recursiveStrings).to.have.lengthOf(4);
});

it('returns the correct values', function() {
Expand All @@ -610,7 +610,7 @@ describe('Minim Primitives', function() {
});

it('returns the correct number of items', function() {
expect(items.length).to.equal(1);
expect(items).to.have.lengthOf(1);
});

it('returns the correct values', function() {
Expand All @@ -626,7 +626,7 @@ describe('Minim Primitives', function() {
});

it('returns the correct number of items', function() {
expect(items.length).to.equal(1);
expect(items).to.have.lengthOf(1);
});

it('returns the correct values', function() {
Expand Down

0 comments on commit 71b64e6

Please sign in to comment.