aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/components
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/app/components')
-rw-r--r--javascript/app/components/haskell-module.js7
-rw-r--r--javascript/app/components/identifier-name.js3
2 files changed, 6 insertions, 4 deletions
diff --git a/javascript/app/components/haskell-module.js b/javascript/app/components/haskell-module.js
index cf750b9..a509c58 100644
--- a/javascript/app/components/haskell-module.js
+++ b/javascript/app/components/haskell-module.js
@@ -162,10 +162,11 @@ function initializeIdentifiers (sourceCodeContainerElement,component) {
event.which,
currentLineNumber);
} else {
- if(identifierInfo.sort === "External") {
+ if(identifierInfo.sort === "External") {
component.get('findReferences')(component.get('packageId'),
identifierInfo.externalId,
- identifierInfo.demangledOccName);
+ identifierInfo.demangledOccName,
+ identifierInfo.locationInfo);
}
}
@@ -400,7 +401,7 @@ function initializeExpressionInfo(sourceCodeContainerElement,component) {
}
export default Ember.Component.extend({
- store : Ember.inject.service('store'),
+ store : Ember.inject.service('store'),
selectedIdentifier : null,
isHoveredOverIdentifier : false,
hasSelectedExpression : false,
diff --git a/javascript/app/components/identifier-name.js b/javascript/app/components/identifier-name.js
index 950b8c7..e0f8c3c 100644
--- a/javascript/app/components/identifier-name.js
+++ b/javascript/app/components/identifier-name.js
@@ -54,7 +54,8 @@ export default Ember.Component.extend({
findReferences (identifierInfo,currentPackageId) {
this.get('findReferences')(currentPackageId,
identifierInfo.externalId,
- identifierInfo.demangledOccName);
+ identifierInfo.demangledOccName,
+ identifierInfo.locationInfo);
}
}
});