Update Ember with history location fix from my fork

This commit is contained in:
Piotr Sarnacki 2012-11-18 11:05:14 +01:00
parent 7af5d4c1b6
commit dfd8e3323b

View File

@ -18498,7 +18498,7 @@ Ember.HistoryLocation = Ember.Object.extend({
setURL: function(path) {
path = this.formatURL(path);
if (this.getState().path !== path) {
if (this.getState() && this.getState().path !== path) {
popstateReady = true;
this.pushState(path);
}