Skip to content

Commit

Permalink
WA代码:精简变量
Browse files Browse the repository at this point in the history
  • Loading branch information
amio committed Mar 21, 2014
1 parent 5c29c9f commit f84fd50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/scripts/controllers/package-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ angular.module('toHELL')
before: uploadDataFormater,
after: function(data){
if(data.status == '1'){
var pkgURI = GLOBAL.pkgHost + $scope.package.appID + '/';
$scope.editStat.selectedScene.background = pkgURI + data.fileName;
$scope.editStat.selectedScene.background = $scope.fileRoot + data.fileName;
}
}
};
Expand Down

0 comments on commit f84fd50

Please sign in to comment.