Remove unnecessary variable assignment
Change-Id: I36af510e28c9ee2ac7563c37d7723aa24469cf54
This commit is contained in:
parent
7ed2865502
commit
b5934b8331
@ -35,7 +35,6 @@
|
|||||||
) {
|
) {
|
||||||
var ctrl = this;
|
var ctrl = this;
|
||||||
|
|
||||||
ctrl.image = {};
|
|
||||||
ctrl.resourceType = registry.getResourceType(imageResourceTypeCode);
|
ctrl.resourceType = registry.getResourceType(imageResourceTypeCode);
|
||||||
|
|
||||||
$scope.context.loadPromise.then(onGetImage);
|
$scope.context.loadPromise.then(onGetImage);
|
||||||
|
Loading…
Reference in New Issue
Block a user