Lines Matching refs:location

4   var location = null;  variable
47 location = new Location('http://example.com');
48 Backbone.history = _.extend(new Backbone.History, {location: location});
196 location.replace('http://example.com#search/news');
206 location.replace('http://example.com#search/тест');
216 location.replace('http://example.com#search/nyc/p10');
264 location.replace('http://example.com#route');
279 location.replace('http://example.com#start_here');
281 location.replace = function(href) {
289 location.replace('http://example.com#splat/long-list/of/splatted_99args/end');
296 location.replace('http://example.com#backbone/compare/1.0...braddunbar:with/slash');
305 location.replace('http://example.com#optional');
308 location.replace('http://example.com#optional/thing');
315 location.replace('http://example.com#one/two/three/complex-part/four/five/six/seven');
324 location.replace('http://example.com#query/mandel?a=b&c=d');
335 location.replace('http://example.com#doesnt-match-a-route');
346 location.replace('http://example.com#function/set');
353 location.replace('http://example.com#decode/a%2Fb/c%2Fd/e');
362 location.replace('http://example.com#noCallback');
393 location.replace('http://example.com#foo');
399 location.replace('http://example.com/root/foo');
402 Backbone.history = _.extend(new Backbone.History, {location: location});
407 Backbone.history = _.extend(new Backbone.History, {location: location});
423 location.replace('http://example.com#search/fat%3A1.5%25');
425 location.replace('http://example.com#search/fat');
443 location.replace('http://example.com/path/name#hash');
444 Backbone.history = _.extend(new Backbone.History, {location: location});
447 assert.strictEqual(fragment, location.pathname.replace(/^\//, ''));
453 location.replace('http://example.com/root/');
454 Backbone.history = _.extend(new Backbone.History, {location: location});
456 location.assign = function(pathname) {
465 location.replace('http://example.com/root');
466 Backbone.history = _.extend(new Backbone.History, {location: location});
474 location.replace('http://example.com/root/');
476 location: location,
495 location.replace('http://example.com/root');
497 location: location,
515 location.replace('http://example.com/root#fragment');
517 location: location,
534 location.replace('http://example.com/root');
535 Backbone.history = _.extend(new Backbone.History, {location: location});
546 location.replace('http://example.com/root');
548 location: location,
561 location.replace('http://example.com/root#x/y');
563 location: location,
580 location.replace('http://example.com/');
582 location: location,
595 location.replace('http://example.com/');
597 location: location,
615 location.replace('http://example.com/root/x/y?a=b');
616 location.replace = function(url) {
620 location: location,
635 location.replace('http://example.com/root#x/y?a=b');
637 location: location,
677 location.replace('http://example.com#named/optional/y');
680 location.replace('http://example.com#named/optional/y123');
691 location.replace('http://example.com#route-event/x');
720 location.replace('http://example.com/root?a=b#x/y');
722 location: location,
739 location: location,
753 location.replace('http://example.com/');
758 location.replace('http://example.com/nomatch#hash');
766 location: location,
773 location.replace('http://example.com/root/path');
782 location: location,
789 location.replace('http://example.com/path');
798 location: location,
805 location.replace('http://example.com/root/path');
814 location: location,
829 location.replace('http://example.com/');
850 Backbone.history = _.extend(new Backbone.History, {location: location});
860 location.replace('http://example.com/path?x=y#hash');
867 Backbone.history = _.extend(new Backbone.History, {location: location});
882 location.replace('http://example.com/myyjä');
884 Backbone.history = _.extend(new Backbone.History, {location: location});
898 location.replace('http://example.com/myyjä/foo%20%25%3F%2f%40%25%20bar');
899 location.pathname = '/myyj%C3%A4/foo%20%25%3F%2f%40%25%20bar';
901 Backbone.history = _.extend(new Backbone.History, {location: location});
915 location.replace('http://example.com/stuff%0Anonsense?param=foo%0Abar');
917 Backbone.history = _.extend(new Backbone.History, {location: location});
931 location.replace('http://example.com#foo/123/bar?x=y');
933 Backbone.history = _.extend(new Backbone.History, {location: location});
950 location.replace('http://example.com?a=b');
951 location.replace = function(url) {
955 location: location,
964 location.replace('http://example.com/shop/search?keyword=short%20dress');
966 location: location,
980location.replace('http://example.com#login?a=value&backUrl=https%3A%2F%2Fwww.msn.com%2Fidp%2Fidpde…
981 Backbone.history = _.extend(new Backbone.History, {location: location});
992 location.replace('http://example.com/root?foo=bar');
993 location.replace = function(url) {
997 location: location,
1008 location.replace('http://example.com/foo');
1010 Backbone.history = _.extend(new Backbone.History, {location: location});
1024 location.replace('http://example.com/xxxx/foo');
1026 Backbone.history = _.extend(new Backbone.History, {location: location});
1040 location.replace('http://example.com/x+y.z/foo');
1042 Backbone.history = _.extend(new Backbone.History, {location: location});
1052 location.replace('http://example.com/®ooτ/foo');
1054 Backbone.history = _.extend(new Backbone.History, {location: location});
1064 location.replace('http://example.com/®ooτ');
1066 Backbone.history = _.extend(new Backbone.History, {location: location});
1078 assert.strictEqual(location.hash, '#' + route);