Skip to content

Commit

Permalink
Merge pull request #497 from matuzalemsteles/FixDemoClayProgressBars
Browse files Browse the repository at this point in the history
Remove unnecessary use of minValue and maxValue in the ProgressBar
  • Loading branch information
jbalsas authored Jan 31, 2018
2 parents 5ed1048 + 2ded760 commit d07ce0a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
6 changes: 0 additions & 6 deletions packages/clay-progress-bar/demos/a11y.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ <h4>Success bar</h4>

new metal.ClayProgressBar(
{
minValue: 0,
maxValue: 100,
spritemap: spritemap,
value: 40
},
Expand All @@ -61,8 +59,6 @@ <h4>Success bar</h4>

new metal.ClayProgressBar(
{
minValue: 0,
maxValue: 100,
spritemap: spritemap,
status: 'warning',
value: 200
Expand All @@ -72,8 +68,6 @@ <h4>Success bar</h4>

new metal.ClayProgressBar(
{
minValue: 0,
maxValue: 100,
spritemap: spritemap,
value: 100
},
Expand Down
6 changes: 0 additions & 6 deletions packages/clay-progress-bar/demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ <h4>Success bar</h4>

new metal.ClayProgressBar(
{
minValue: 0,
maxValue: 100,
spritemap: spritemap,
value: 40
},
Expand All @@ -61,8 +59,6 @@ <h4>Success bar</h4>

new metal.ClayProgressBar(
{
minValue: 0,
maxValue: 100,
spritemap: spritemap,
status: 'warning',
value: 200
Expand All @@ -72,8 +68,6 @@ <h4>Success bar</h4>

new metal.ClayProgressBar(
{
minValue: 0,
maxValue: 100,
spritemap: spritemap,
value: 100
},
Expand Down
8 changes: 0 additions & 8 deletions packages/clay-progress-bar/src/__tests__/ClayProgressBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ describe('ClayProgressBar', function() {

it('should render an in progress bar', function() {
progressBar = new ClayProgressBar({
minValue: 0,
maxValue: 100,
spritemap: spritemap,
value: 40,
});
Expand All @@ -40,8 +38,6 @@ describe('ClayProgressBar', function() {

it('should render a progress bar at 0% of progress', function() {
progressBar = new ClayProgressBar({
minValue: 0,
maxValue: 100,
spritemap: spritemap,
value: 0,
});
Expand All @@ -57,8 +53,6 @@ describe('ClayProgressBar', function() {

it('should render a progress bar with warning', function() {
progressBar = new ClayProgressBar({
minValue: 0,
maxValue: 100,
spritemap: spritemap,
status: 'warning',
value: 40,
Expand All @@ -69,8 +63,6 @@ describe('ClayProgressBar', function() {

it('should render a completed progress bar', function() {
progressBar = new ClayProgressBar({
minValue: 0,
maxValue: 100,
spritemap: spritemap,
value: 100,
});
Expand Down

0 comments on commit d07ce0a

Please sign in to comment.