Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit ef45229

Browse files
committed
Merge branch 'master' of github.com:angular-ui/bootstrap
2 parents cde8f9e + a6cb8d3 commit ef45229

File tree

4 files changed

+6
-40
lines changed

4 files changed

+6
-40
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Are you interested in Angular 2? We are on our way! Check out [ng-bootstrap](htt
3636
Installation is easy as UI Bootstrap has minimal dependencies - only the AngularJS and Twitter Bootstrap's CSS are required.
3737
Note: Since version 0.13.0, UI Bootstrap depends on [ngAnimate](https://docs.angularjs.org/api/ngAnimate) for transitions and animations, such as the accordion, carousel, etc. Include `ngAnimate` in the module dependencies for your app in order to enable animation.
3838

39-
Additionally, it is srongly recommended that for UI Bootstrap 0.13.3 and higher you use Angular 1.3.18 or higher due to animation fixes.
39+
Additionally, it is strongly recommended that for UI Bootstrap 0.13.3 and higher you use Angular 1.3.18 or higher due to animation fixes.
4040

4141
#### Install with NPM
4242

docs/css/style.css

-21
This file was deleted.

docs/nav.html

-13
This file was deleted.

misc/demo/assets/app.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function MainCtrl($scope, $http, $document, $uibModal, orderByFilter) {
7676
};
7777
}
7878

79-
function SelectModulesCtrl($scope, $modalInstance, modules, buildFilesService) {
79+
function SelectModulesCtrl($scope, $uibModalInstance, modules, buildFilesService) {
8080
$scope.selectedModules = [];
8181
$scope.modules = modules;
8282

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

9191
$scope.downloadBuild = function () {
92-
$modalInstance.close($scope.selectedModules);
92+
$uibModalInstance.close($scope.selectedModules);
9393
};
9494

9595
$scope.cancel = function () {
96-
$modalInstance.dismiss();
96+
$uibModalInstance.dismiss();
9797
};
9898

9999
$scope.isOldBrowser = function () {
@@ -242,7 +242,7 @@ function SelectModulesCtrl($scope, $modalInstance, modules, buildFilesService) {
242242
};
243243
}
244244

245-
function DownloadCtrl($scope, $modalInstance) {
245+
function DownloadCtrl($scope, $uibModalInstance) {
246246
$scope.options = {
247247
minified: true,
248248
tpls: true
@@ -265,7 +265,7 @@ function DownloadCtrl($scope, $modalInstance) {
265265
};
266266

267267
$scope.cancel = function () {
268-
$modalInstance.dismiss();
268+
$uibModalInstance.dismiss();
269269
};
270270
}
271271

0 commit comments

Comments
 (0)