diff options
| author | Misko Hevery | 2010-01-12 10:38:00 -0800 |
|---|---|---|
| committer | Misko Hevery | 2010-01-12 10:38:00 -0800 |
| commit | e2a48aa2322801bd67cecd9ec516c07977500a52 (patch) | |
| tree | f632cff11e9bf2d65e241f0aa9ceb03acad89800 /src | |
| parent | 0f690e3c08ecff9bb4daef58a24cbb7efeb561b2 (diff) | |
| download | angular.js-e2a48aa2322801bd67cecd9ec516c07977500a52.tar.bz2 | |
dissable set url
Diffstat (limited to 'src')
| -rw-r--r-- | src/Loader.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Loader.js b/src/Loader.js index 5cef348a..2ce44f48 100644 --- a/src/Loader.js +++ b/src/Loader.js @@ -391,12 +391,12 @@ UrlWatcher.prototype = { }, setUrl: function(url) { - var existingURL = window.location.href; - if (!existingURL.match(/#/)) - existingURL += '#'; - if (existingURL != url) - window.location.href = url; - this.existingURL = url; +// var existingURL = window.location.href; +// if (!existingURL.match(/#/)) +// existingURL += '#'; +// if (existingURL != url) +// window.location.href = url; +// this.existingURL = url; }, getUrl: function() { |
