Skip to content

Commit

Permalink
chore(demo): use prefixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxandxss authored and wesleycho committed Oct 21, 2015
1 parent 74f9945 commit a6cb8d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions misc/demo/assets/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function MainCtrl($scope, $http, $document, $uibModal, orderByFilter) {
};
}

function SelectModulesCtrl($scope, $modalInstance, modules, buildFilesService) {
function SelectModulesCtrl($scope, $uibModalInstance, modules, buildFilesService) {
$scope.selectedModules = [];
$scope.modules = modules;

Expand All @@ -89,11 +89,11 @@ function SelectModulesCtrl($scope, $modalInstance, modules, buildFilesService) {
};

$scope.downloadBuild = function () {
$modalInstance.close($scope.selectedModules);
$uibModalInstance.close($scope.selectedModules);
};

$scope.cancel = function () {
$modalInstance.dismiss();
$uibModalInstance.dismiss();
};

$scope.isOldBrowser = function () {
Expand Down Expand Up @@ -242,7 +242,7 @@ function SelectModulesCtrl($scope, $modalInstance, modules, buildFilesService) {
};
}

function DownloadCtrl($scope, $modalInstance) {
function DownloadCtrl($scope, $uibModalInstance) {
$scope.options = {
minified: true,
tpls: true
Expand All @@ -265,7 +265,7 @@ function DownloadCtrl($scope, $modalInstance) {
};

$scope.cancel = function () {
$modalInstance.dismiss();
$uibModalInstance.dismiss();
};
}

Expand Down

0 comments on commit a6cb8d3

Please sign in to comment.