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

Do not issue request for undefined hrefs #34

Merged
merged 1 commit into from
Nov 27, 2017

Conversation

alshakero
Copy link
Contributor

juicy-html.html Outdated
@@ -55,7 +55,7 @@
},
'href': {
set: function(newValue) {
if(newValue === null){
if(newValue === null || newValue === undefined){

Choose a reason for hiding this comment

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

Please format the code according to our guides, which is default Visual Studio formatting.

if(newValue === null || newValue === undefined){

Should be:

if (newValue === null || newValue === undefined) {

juicy-html.html Outdated
@@ -67,7 +67,7 @@
},
'html': {
set: function(newValue) {
if(newValue === null){
if(newValue === null || newValue === undefined){

Choose a reason for hiding this comment

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

Maybe create a function to check for null or undefined value?

@alshakero alshakero force-pushed the Fix-undefined-uri-request branch from 7fbd1f5 to 8e8fb72 Compare November 27, 2017 10:34
@alshakero
Copy link
Contributor Author

Done

@alshakero alshakero merged commit 109f883 into master Nov 27, 2017
@alshakero alshakero deleted the Fix-undefined-uri-request branch November 27, 2017 11:36
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