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

Added a new web page for dictionary #21

Merged
merged 7 commits into from
Nov 18, 2018

Conversation

muskankhedia
Copy link
Collaborator

@muskankhedia muskankhedia commented Nov 17, 2018

#11
Added a new web page for dictionary view.

webp net-gifmaker 5

#20
fixed the bug in the article view section of saving the same articles twice.
Now an article with the same URL will not be saved again if it was saved earlier.

console.log(request.savedArticles.URL)
console.log(allSavedArticles[i].URL)
if(request.savedArticles.URL === allSavedArticles[i].URL && i == len-1){
j=10;
Copy link
Owner

Choose a reason for hiding this comment

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

j =10; for what??

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To have a check whether the loop is terminated at i = allSavedArticles.length, it is an extra condition. j=10, the value is specified only for a check, any value can be specified.

Copy link
Owner

Choose a reason for hiding this comment

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

try using boolean expression for the same. Boolean is made for the purpose.

<br>
<hr>
<div class="row">
<!-- <br>
Copy link
Owner

Choose a reason for hiding this comment

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

pls remove these multiple comments cluster, and add a single comment

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have made the changes accordingly and made the commit.

@Harkishen-Singh Harkishen-Singh merged commit dc1033a into Harkishen-Singh:master Nov 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants