mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix hn
This commit is contained in:
@ -8,7 +8,7 @@ import {NavController, NavParams, NavbarTemplate, Navbar, Content, Nav, NavPane,
|
||||
import {HackerNews} from '../hn'
|
||||
|
||||
|
||||
@Component({ selector: 'top-stories' })
|
||||
@Component({ selector: 'ion-view' })
|
||||
@View({
|
||||
templateUrl: 'pages/single.html',
|
||||
directives: [NavbarTemplate, Navbar, Content, NgFor, List, Item]
|
||||
|
@ -24,7 +24,7 @@ export class Story {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: 'top-stories'
|
||||
selector: 'ion-view'
|
||||
})
|
||||
@View({
|
||||
templateUrl: 'pages/top.html',
|
||||
|
Reference in New Issue
Block a user