feat(url_resolver): support package: urls (fixes #2991)

This commit is contained in:
Yegor
2015-07-23 00:00:14 -07:00
committed by yjbanov
parent 771c0170d9
commit 408618b836
19 changed files with 61 additions and 75 deletions

View File

@ -3,7 +3,7 @@ import {isPresent} from 'angular2/src/facade/lang';
@Component({selector: '[md-button]:not([href])'})
@View({templateUrl: 'angular2_material/src/components/button/button.html'})
@View({templateUrl: 'package:angular2_material/src/components/button/button.html'})
export class MdButton {
// TODO(jelbourn): Ink ripples.
}
@ -15,7 +15,7 @@ export class MdButton {
host: {'(click)': 'onClick($event)', '[tabIndex]': 'tabIndex'},
lifecycle: [LifecycleEvent.onChange]
})
@View({templateUrl: 'angular2_material/src/components/button/button.html'})
@View({templateUrl: 'package:angular2_material/src/components/button/button.html'})
export class MdAnchor {
tabIndex: number;