Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Replace location check unintentionally removed in prior commit

  • Loading branch information...
commit df412a86ac0291c9eedb897cb153b76cb5926dc7 1 parent 9e7cd0f
@73rhodes 73rhodes authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/wsdl.js
View
2  lib/wsdl.js
@@ -291,7 +291,7 @@ BindingElement.prototype.addChild = function(child) {
}
}
PortElement.prototype.addChild = function(child) {
- if (child.name === 'address') {
+ if (child.name === 'address' && typeof(child.$location) !== 'undefined') {
this.location = child.$location;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.