aboutsummaryrefslogtreecommitdiffstats
path: root/src/jqLite.js
diff options
context:
space:
mode:
authorVojta Jina2012-02-23 22:50:02 -0800
committerVojta Jina2012-02-23 22:50:02 -0800
commit3171f215910255938c179d8243480fbaeebc77cf (patch)
tree06f1ecf3ba20a32a6ab67e429a7083dfc037e5f0 /src/jqLite.js
parentd6e3e1baabc3acc930e4fda387b62cbd03e64577 (diff)
downloadangular.js-3171f215910255938c179d8243480fbaeebc77cf.tar.bz2
fix($httpBackend): Set current url, if not defined or empty string
Reason to fix this was the fact that with undefined url, it ended up with weird exception (Cannot call method 'replace' of undefined), which was more confusing than helpful. jQuery.ajax() does request to current url, if url is not specified, so I decided for this solution.
Diffstat (limited to 'src/jqLite.js')
0 files changed, 0 insertions, 0 deletions