angular.js/test
Vojta Jina 341b2b3a9b 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
2010-10-18 09:58:37 -07:00
..
scenario fixed lint warnings and one flaky test 2010-10-15 13:44:53 -07:00
angular-mocks.js fixing reference issue in angular-mocks.js 2010-10-13 17:42:55 -07:00
AngularSpec.js improving angular.copy spec 2010-10-16 22:10:01 -07:00
ApiSpecs.js adding an extra DateToUTC assertion 2010-10-16 21:31:23 -07:00
BinderTest.js fix memory leak caused by leftbehind $invalidWidgets references 2010-10-13 04:37:46 +08:00
BrowserSpecs.js Reworked the cookie synchronization between cookie service, $browser and document.cookie. 2010-09-27 15:10:05 -07:00
CompilerSpec.js Fixed issue where compiler would pass in detached text node if previous markup would have removed it. 2010-10-12 21:52:04 -07:00
ConsoleTest.js tests failing jstd to show cory 2010-04-08 13:43:40 -07:00
directivesSpec.js fixed issue where ng:bind would not reset value if expression returned undefined 2010-10-13 10:51:16 -07:00
FiltersSpec.js fixed date formater and make it work on ie 2010-10-16 21:43:28 -07:00
FormattersTest.js Updated JSTD 2010-10-15 11:58:55 -07:00
InjectorSpec.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
jquery_alias.js happy 2010-05-24 13:54:32 -07:00
jquery_remove.js happy 2010-05-24 13:54:32 -07:00
JsonSpec.js JSON parser is now strict (ie, expressions are not allowed for security) 2010-10-18 08:50:36 -07:00
markupSpec.js fixed test for ng:src which fails on IE, since IE treats undefined src as url to the current page. 2010-09-21 10:37:12 +02:00
ParserSpec.js JSON parser is now strict (ie, expressions are not allowed for security) 2010-10-18 08:50:36 -07:00
ResourceSpec.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
ScenarioSpec.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
ScopeSpec.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
servicesSpec.js Update $location API Close #62 2010-10-18 09:58:37 -07:00
testabilityPatch.js fixed lint warnings and one flaky test 2010-10-15 13:44:53 -07:00
ValidatorsTest.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
widgetsSpec.js attempting to fix ie on jquery build failure 2010-10-16 22:08:58 -07:00