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

Commit 3492c26

Browse files
committed
chore(modal): clean up code style
1 parent dac087e commit 3492c26

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/modal/test/modal.spec.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -421,9 +421,7 @@ describe('$modal', function () {
421421
});
422422

423423
describe('default options can be changed in a provider', function() {
424-
425424
it('should allow overriding default options in a provider', function() {
426-
427425
$modalProvider.options.backdrop = false;
428426
var modal = open({template: '<div>Content</div>'});
429427

@@ -432,7 +430,6 @@ describe('$modal', function () {
432430
});
433431

434432
it('should accept new objects with default options in a provider', function() {
435-
436433
$modalProvider.options = {
437434
backdrop: false
438435
};
@@ -444,9 +441,7 @@ describe('$modal', function () {
444441
});
445442

446443
describe('option by option', function () {
447-
448444
describe('template and templateUrl', function () {
449-
450445
it('should throw an error if none of template and templateUrl are provided', function() {
451446
expect(function(){
452447
var modal = open({});
@@ -476,11 +471,9 @@ describe('$modal', function () {
476471
}});
477472
expect($document).toHaveModalOpenWithContent('Whitespaces', 'div');
478473
});
479-
480474
});
481475

482476
describe('controller', function() {
483-
484477
it('should accept controllers and inject modal instances', function() {
485478
var TestCtrl = function($scope, $modalInstance) {
486479
$scope.fromCtrl = 'Content from ctrl';

src/modal/test/stackedMap.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
describe('stacked map', function() {
2-
32
var stackedMap;
43

54
beforeEach(module('ui.bootstrap.modal'));

0 commit comments

Comments
 (0)