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

View File

@ -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);