Skip to content

Commit 9fd5746

Browse files
committed
fix(icon): export icon registry as part of icon
1 parent 6e4fe5e commit 9fd5746

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/components/icon/icon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
} from 'angular2/core';
1313
import {BaseException} from 'angular2/src/facade/exceptions';
1414
import {MdIconRegistry} from './icon-registry';
15-
15+
export {MdIconRegistry} from './icon-registry';
1616

1717

1818
/** Exception thrown when an invalid icon name is passed to an md-icon component. */

src/demo-app/icon/icon-demo.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import {Component, ViewEncapsulation} from 'angular2/core';
2-
import {MdIcon} from '../../components/icon/icon';
3-
import {MdIconRegistry} from '../../components/icon/icon-registry';
2+
import {MdIcon, MdIconRegistry} from '../../components/icon/icon';
43

54
@Component({
65
selector: 'md-icon-demo',

0 commit comments

Comments
 (0)