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

Fix bug, add tests, update i18n version #85

Merged
merged 2 commits into from
Nov 15, 2017

Conversation

maier49
Copy link
Contributor

@maier49 maier49 commented Nov 15, 2017

Type: bug

The following has been addressed in the PR:

  • There is a related issue
  • All code matches the style guide
  • Unit or Functional tests are included in the PR

Description:
This was not properly checking the return value of recursive calls.

@maier49 maier49 requested a review from agubler November 15, 2017 19:15
@maier49 maier49 force-pushed the fix-selection-utilities branch from 25af28c to 90c37fc Compare November 15, 2017 19:16
src/support/d.ts Outdated
@@ -133,7 +133,7 @@ function findByKey(
target.children
.forEach((child, index) => {
if (isNode(child)) {
if (found) {
if (found && found.found) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you think we could name found better? like perhaps nodeInfo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that makes more sense. Updated

@codecov
Copy link

codecov bot commented Nov 15, 2017

Codecov Report

Merging #85 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #85   +/-   ##
=======================================
  Coverage   99.02%   99.02%           
=======================================
  Files           9        9           
  Lines         618      618           
  Branches      173      173           
=======================================
  Hits          612      612           
  Partials        6        6
Impacted Files Coverage Δ
src/support/d.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e4906f...b1338fe. Read the comment docs.

@maier49 maier49 merged commit fd02180 into dojo:master Nov 15, 2017
@maier49 maier49 deleted the fix-selection-utilities branch November 15, 2017 19:31
@dylans dylans added this to the beta.5 milestone Dec 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants