Skip to content

Commit

Permalink
Make old selectors work
Browse files Browse the repository at this point in the history
  • Loading branch information
tinayuangao committed Dec 20, 2016
1 parent e27817c commit 326b829
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/progress-spinner/_progress-spinner-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$accent: map-get($theme, accent);
$warn: map-get($theme, warn);

md-progress-spinner, md-spinner {
md-progress-spinner, md-progress-circle, md-spinner {
path {
stroke: md-color($primary, 600);
}
Expand Down
8 changes: 7 additions & 1 deletion src/lib/progress-spinner/progress-spinner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type EasingFn = (currentTime: number, startValue: number,
*/
@Component({
moduleId: module.id,
selector: 'md-progress-spinner, mat-progress-spinner',
selector: 'md-progress-spinner, mat-progress-spinner, md-progress-circle, mat-progress-circle',
host: {
'role': 'progressbar',
'[attr.aria-valuemin]': '_ariaValueMin',
Expand Down Expand Up @@ -348,3 +348,9 @@ export class MdProgressSpinnerModule {
};
}
}

/** @deprecated */
export {MdProgressSpinner as MdProgressCircle};

/** @deprecated */
export {MdProgressSpinnerModule as MdProgressCircleModule};

0 comments on commit 326b829

Please sign in to comment.