-
Notifications
You must be signed in to change notification settings - Fork 143
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
4771 componentize search #4903
4771 componentize search #4903
Conversation
@@ -419,7 +417,7 @@ define([ | |||
page: page > 0 ? page : 1 | |||
}, | |||
error: function(e) { | |||
console.log('request failed', e) | |||
console.log('request failed', e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement. (no-console)
@@ -449,7 +447,7 @@ define([ | |||
nodeMap[resourceId] = rootNode; | |||
newNodeId += 1; | |||
} else if (rootNode.relationCount) { | |||
total_loaded = rootNode.relationCount.loaded + rr.resource_relationships.length | |||
total_loaded = rootNode.relationCount.loaded + rr.resource_relationships.length; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identifier 'total_loaded' is not in camel case. (camelcase)
@@ -525,11 +523,11 @@ define([ | |||
|
|||
_.each(links, function(l){ | |||
if (_.has(linkMap, l.source.id + '_' + l.target.id)) { | |||
l.all_relationships = linkMap[l.source.id + '_' + l.target.id].relationships | |||
l.all_relationships = linkMap[l.source.id + '_' + l.target.id].relationships; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identifier 'all_relationships' is not in camel case. (camelcase)
@@ -556,21 +554,25 @@ define([ | |||
}; | |||
|
|||
if (currentResource().resourceinstanceid) { | |||
setRoot(currentResource()) | |||
setRoot(currentResource()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'setRoot' is not defined. (no-undef)
re #4771