Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a medical term that will test serviceManager.getDefinitionsFromDictionaryApi #246

Open
jobrieniii opened this issue Jun 30, 2015 · 1 comment
Assignees
Milestone

Comments

@jobrieniii
Copy link
Member

For the 3rd pathway of code:


                    } else {

                      if (typeof v.def[0].sensb[0].sens[0].dt === "string") {

                        var definition = new Definition();
                        var dt = new Date();

                        definition.definition = v.def[0].sensb[0].sens[0].dt;
                        definition.source = 'dictionaryapi.com';
                        definition.created_at = dt.getTime();
                        definition.created_by = "";
                        definition.votes = new Votes();
                        console.log(term + ' PATH 3'); // comment temporarily added - may not be in current build
                        definitions.push(definition);

                      }

                      }

                    }

(This pathway was found during initial build - just need to recall a definition that ends up running down that pathway.)

@jobrieniii jobrieniii self-assigned this Jun 30, 2015
@jobrieniii jobrieniii added this to the v1.1 milestone Jun 30, 2015
@jobrieniii
Copy link
Member Author

This pathway may no longer be valid in light of another bug fix that was done previously on how matching was done on definitions in XML response. This needs more investigation - and possibly this chunk of code can be removed.

@jobrieniii jobrieniii modified the milestones: Post Proposal, v1.1 Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant