Remove unnecessary variable assignment

Change-Id: I36af510e28c9ee2ac7563c37d7723aa24469cf54
This commit is contained in:
jing.liuqing 2016-11-08 21:17:38 +08:00
parent 7ed2865502
commit b5934b8331
1 changed files with 0 additions and 1 deletions

View File

@ -35,7 +35,6 @@
) {
var ctrl = this;
ctrl.image = {};
ctrl.resourceType = registry.getResourceType(imageResourceTypeCode);
$scope.context.loadPromise.then(onGetImage);