Lines Matching refs:url
246 @param {String} url The URL to navigate to. This must be of the same origin
252 to `true` if the specified `url` is the same as the current URL.
538 var url = Y.getLocation().toString();
539 return this._html5 ? url : this._upgradeURL(url);
623 @param {String} url The fully-resolved URL that the app should dispatch to
631 to `true` if the specified `url` is the same as the current URL.
638 _navigate: function (url, options) {
639 url = this._upgradeURL(url);
650 return PjaxBase.prototype._navigate.call(this, url, options);
668 @param {String} [url] URL for the history entry.
675 _save: function (url, replace) {
680 if (!this._hasSameOrigin(url)) {
686 url = this._joinURL(url || '');
689 // while navigating to the `url`.
691 win && win.location.replace(url);
693 win && (win.location = url);
754 The specified `url` will be upgraded if its of the same origin as the
762 @param {String} url The URL to upgrade from hash-based to full-path.
767 _upgradeURL: function (url) {
769 if (!this._hasSameOrigin(url)) {
770 return url;
775 var hash = (url.match(/#(.*)$/) || [])[1] || '',
786 url = this._resolveURL(this._joinURL(hash));
789 return url;