angular/modules/angular2/src/router/location_strategy.ts
2015-07-21 06:20:13 -07:00

15 lines
475 B
TypeScript

import {BaseException} from 'angular2/src/facade/lang';
function _abstract() {
return new BaseException('This method is abstract');
}
export class LocationStrategy {
path(): string { throw _abstract(); }
pushState(ctx: any, title: string, url: string): void { throw _abstract(); }
forward(): void { throw _abstract(); }
back(): void { throw _abstract(); }
onPopState(fn: (_) => any): void { throw _abstract(); }
getBaseHref(): string { throw _abstract(); }
}