mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
rename src to ionic
This commit is contained in:
13
ionic/components/router/router.js
Normal file
13
ionic/components/router/router.js
Normal file
@ -0,0 +1,13 @@
|
||||
import {Component, Template, Inject, Parent, NgElement} from 'angular2/angular2'
|
||||
import {Log} from 'ionic2/util'
|
||||
|
||||
/**
|
||||
* A simple routing system that detects a URL and calls
|
||||
* a handler.
|
||||
*/
|
||||
export class Router {
|
||||
static open(url) {
|
||||
Log.log('Router: open from url', url)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user