Ember.AutoLocation Namespace packages/ember-routing/lib/location/auto_location.js:22


PRIVATE

Ember.AutoLocation will select the best location option based off browser support with the priority order: history, hash, none.

Clean pushState paths accessed by hashchange-only browsers will be redirected to the hash-equivalent and vice versa so future transitions are consistent.

Keep in mind that since some of your users will use HistoryLocation, your server must serve the Ember app at all the routes you define.

Show:

Methods

Properties

Show:

_getHashPath

private

Show:

cancelRouterSetup

private

Default: false

global

private

Default: window

history

private

Default: environment.history

location

private

Default: environment.location

rootURL

private

Default: '/'

userAgent

private

Default: environment.history