aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/docs-scenario.html
diff options
context:
space:
mode:
authorIgor Minar2012-04-11 23:46:23 -0700
committerIgor Minar2012-04-12 02:36:03 -0700
commit6d7e7fdea6c3d6551ff40c150aa42e1375d2cb5f (patch)
tree47cc1d0f24f424df8f964595ee98a4c6b30bb981 /docs/src/templates/docs-scenario.html
parentdf72852f3496d7640bb4f70837338e464b7ed69f (diff)
downloadangular.js-6d7e7fdea6c3d6551ff40c150aa42e1375d2cb5f.tar.bz2
fix($location): properly rewrite urls in html5 mode with base url set
previously we were doing all kinds of checks to see if we should rewrite the url or not and we were missing many scenarios. not any more. with this change, we rewrite the url unless: - the href is not set - link has target attribute - the absolute url of the link doesn't match the absolute prefix for all urls in our app This also means that ng-ext-link attribute which we previously used to distinguish external links from app links is not necessary any more. apps can just set target=_self to prevent rewriting. BREAKING CHANGE: ng-ext-link directive was removed because it's unnecessary apps that relied on ng-ext-link should simply replace it with target=_self
Diffstat (limited to 'docs/src/templates/docs-scenario.html')
0 files changed, 0 insertions, 0 deletions