refactor(router): rename HTML5LocationStrategy to PathLocationStrategy
"HTML5" is a bit confusing. We want to differentiate between persisting location state to the URL path, and the URL hash. Hence `PathLocationStrategy`. BREAKING CHANGE `HTML5LocationStrategy` -> `PathLocationStrategy` Closes #3776
This commit is contained in:
@ -4,7 +4,7 @@ import {EventListener, History, Location} from 'angular2/src/facade/browser';
|
||||
import {LocationStrategy} from './location_strategy';
|
||||
|
||||
@Injectable()
|
||||
export class HTML5LocationStrategy extends LocationStrategy {
|
||||
export class PathLocationStrategy extends LocationStrategy {
|
||||
private _location: Location;
|
||||
private _history: History;
|
||||
private _baseHref: string;
|
Reference in New Issue
Block a user