@@ -146,7 +146,6 @@ function Browser(window, document, $log, $sniffer) {
146
146
* @param {boolean= } replace Should new url replace current history record ?
147
147
*/
148
148
self . url = function ( url , replace ) {
149
- dump ( 'self.url' )
150
149
// Android Browser BFCache causes location, history reference to become stale.
151
150
if ( location !== window . location ) location = window . location ;
152
151
if ( history !== window . history ) history = window . history ;
@@ -176,7 +175,6 @@ function Browser(window, document, $log, $sniffer) {
176
175
// - newLocation is a workaround for an IE7-9 issue with location.replace and location.href
177
176
// methods not updating location.href synchronously.
178
177
// - the replacement is a workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=407172
179
- dump ( newLocation || location . href . replace ( / % 2 7 / g, "'" ) )
180
178
return newLocation || location . href . replace ( / % 2 7 / g, "'" ) ;
181
179
}
182
180
} ;
@@ -216,7 +214,6 @@ function Browser(window, document, $log, $sniffer) {
216
214
* @return {function(string) } Returns the registered listener fn - handy if the fn is anonymous.
217
215
*/
218
216
self . onUrlChange = function ( callback ) {
219
- dump ( 'onUrlChange' )
220
217
// TODO(vojta): refactor to use node's syntax for events
221
218
if ( ! urlChangeInit ) {
222
219
// We listen on both (hashchange/popstate) when available, as some browsers (e.g. Opera)
0 commit comments