aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMisko Hevery2010-01-12 10:38:00 -0800
committerMisko Hevery2010-01-12 10:38:00 -0800
commite2a48aa2322801bd67cecd9ec516c07977500a52 (patch)
treef632cff11e9bf2d65e241f0aa9ceb03acad89800 /src
parent0f690e3c08ecff9bb4daef58a24cbb7efeb561b2 (diff)
downloadangular.js-e2a48aa2322801bd67cecd9ec516c07977500a52.tar.bz2
dissable set url
Diffstat (limited to 'src')
-rw-r--r--src/Loader.js12
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() {