aboutsummaryrefslogtreecommitdiffstats
path: root/test/ValidatorsTest.js
AgeCommit message (Collapse)Author
2010-11-07Added documentation for validators.Misko Hevery
BACKWARD INCOMPATIBLE: removed ssn validators, since it is unlikely that most people will need it and if they do, they can added it thorough RegExp
2010-10-12Introduced injector and $new to scope, and injection into link methods and ↵Misko Hevery
controllers - added angular.injector(scope, services, instanceCache) which returns inject - inject method can return, instance, or call function which have $inject property - initialize services with $creation=[eager|eager-publish] this means that only some of the services are now globally accessible - upgraded $become on scope to use injector hence respect the $inject property for injection - $become should not be run multiple times and will most likely be removed in future version - added $new on scope to create a child scope - $inject is respected on constructor function - simplified scopes so that they no longer have separate __proto__ for parent, api, behavior and instance this should speed up execution since scope will now create one __proto__ chain per scope (not three). BACKWARD COMPATIBILITY WARNING: - services now need to have $inject instead of inject property for proper injection this breaks backward compatibility - not all services are now published into root scope (only: $location, $cookie, $window) - if you have widget/directive which uses services on scope (such as this.$xhr), you will now have to inject that service in (as it is not published on the root scope anymore)
2010-10-13fix memory leak caused by leftbehind $invalidWidgets referencesIgor Minar
- ng:switch should not clean up $invalidWidgets - $invalidWidgets should be clean up after each eval - add missing docs
2010-09-23make date validator use the Date objectBolek Szewczyk
2010-07-13changed remaining ng- to ng:Misko Hevery
2010-04-21more if tests passMisko Hevery
2010-04-16lots of small fixesMisko Hevery
2010-04-12added ng-eval-order attributeMisko Hevery
2010-04-09various bug fixesMisko Hevery
2010-04-08tests failing jstd to show coryMisko Hevery
2010-04-07seperatio validation and exception handlingMisko Hevery
2010-04-05added ng:switch widgetMisko Hevery
2010-03-29reenabled more testsMisko Hevery
2010-03-29dissabled a lot of tests, and made the core test set pass.Misko Hevery
2010-03-24input[type=text] now works with binding, validation, formatter, requiredMisko Hevery
2010-02-12added asynchronous validatorMisko Hevery
2010-02-12Fixed negation grouping bugMisko Hevery
Make 'this' of validation be scope
2010-02-05better integer farmaterMisko Hevery
2010-01-05angular.jsAdam Abrons