Skip to content

Commit 159b479

Browse files
committed
fixed test
1 parent d84ba2d commit 159b479

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

angular-loading-bar/angular-loading-bar-tests.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ class TestController {
77
constructor($http: ng.IHttpService) {
88

99
$http.get("http://xyz.com", { ignoreLoadingBar: true })
10-
10+
1111
}
1212

1313
}
1414

1515
app.controller('TestController', TestController);
1616

17-
18-
1917
var barConfig: angular.loadingBar.ILoadingBarProvider[] = [];
2018
barConfig.push({
2119
includeSpinner: true,

angular-loading-bar/angular-loading-bar.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@
66
/// <reference path="../angularjs/angular.d.ts" />
77

88

9-
declare module angular.loadingBar {
9+
declare module angular {
1010

1111
interface IRequestShortcutConfig {
1212
/**
1313
* Indicates that the loading bar should be hidden.
1414
*/
1515
ignoreLoadingBar?: boolean;
1616
}
17+
}
1718

19+
declare module angular.loadingBar {
20+
1821
interface ILoadingBarProvider{
1922
/**
2023
* Turn the spinner on or off

0 commit comments

Comments
 (0)