diff options
| author | Igor Minar | 2011-01-13 15:32:13 -0800 | 
|---|---|---|
| committer | Igor Minar | 2011-01-13 16:58:35 -0800 | 
| commit | 23875cb330945788f2d290fd2063eb3d5c20e260 (patch) | |
| tree | 0fe22574a0603ec80b4c012fa18766eb02951437 /lib | |
| parent | b0be87f663e8684c1369e1bff740c1750ba17080 (diff) | |
| download | angular.js-23875cb330945788f2d290fd2063eb3d5c20e260.tar.bz2 | |
significant rewrite of the $location service
- don't update browser before and after eval instead
  - sync location properties before eval
  - sync location properties and update browser after eval
- added tests
- symplified the code
- removed $location.toString() because it was not idempotent and useless
This resolves the issue with issuing two $route.onHashChange calls
when the $location was updated with a hashPath that needs to be encoded
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
