aboutsummaryrefslogtreecommitdiffstats
path: root/src/validators.js
diff options
context:
space:
mode:
authorVojta Jina2010-10-16 15:22:36 +0100
committerMisko Hevery2010-10-18 09:58:37 -0700
commit341b2b3a9b1257e376a7d319f131008162f584ae (patch)
tree8d7b7e42cc7333dab14a9fe8d00b838893207f37 /src/validators.js
parent9e9bdbdc405b6afecd2e536e375c9d8fe40f110b (diff)
downloadangular.js-341b2b3a9b1257e376a7d319f131008162f584ae.tar.bz2
Update $location API Close #62
update(objOrString) updateHash(objOrString [, objOrString]) toString() cancel() Examples: $location.update('http://www.angularjs.org/path#path?a=b'); $location.update({port: 443, protocol: 'https'}); $location.updateHash('hashPath'); $location.updateHash({a: 'b'}); $location.updateHash('hashPath', {a: 'b'}); This commit was produced by squash of more commits, here are the old messages: - Change tests to use update() instead of parse(). - First implementation of update() method - Test for update() with object parameter - Add new tests for location, refactor location code - Add tests for updateHash() - Implement updateHash() - Take one or two arguments, could be string - update hashPath, or hash object - update hashSearch... - Fixed other service tests, to use new $location.update() Added $location.cancel() method (with test) Added $location.parse() for back compatability Remove parse() method
Diffstat (limited to 'src/validators.js')
0 files changed, 0 insertions, 0 deletions