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:
Brian Ford
2015-08-24 12:13:51 -07:00
parent d2a3b76a71
commit 3963e0ab39
2 changed files with 4 additions and 4 deletions

View File

@ -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;