Skip to content

Commit

Permalink
Merge pull request #41 from Sedushi/master
Browse files Browse the repository at this point in the history
Removed hard coded styling. #33
  • Loading branch information
dasois committed Jul 24, 2014
2 parents 6f7e83c + ff38a47 commit 677346b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ angular.module('ngProgress.provider', ['ngProgress.directive'])
//Default values for provider
this.autoStyle = true;
this.count = 0;
this.height = '2px';
this.color = 'firebrick';

this.$get = ['$document',
'$window',
Expand Down
6 changes: 0 additions & 6 deletions tests/ngProgressProviderSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,10 @@ describe('How the provider should work', function () {
this.progressbar.complete();
expect(this.progressbar.status()).toBe(100);
});
it('return current height when calling height() without parameters', function () {
expect(this.progressbar.height()).toBe('2px');
});
it('set the height when calling height() with parameter', function () {
this.progressbar.height('5px');
expect(this.progressbar.height()).toBe('5px');
});
it('return current color when calling color() without parameters', function () {
expect(this.progressbar.color()).toBe('firebrick');
});
it('set the color when calling color() with parameter', function () {
this.progressbar.color('green');
expect(this.progressbar.color()).toBe('green');
Expand Down

0 comments on commit 677346b

Please sign in to comment.