angular.js/test
Misko Hevery d9abfe8a7e Introduced injector and $new to scope, and injection into link methods and 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-12 16:33:06 -07:00
..
scenario Fixed all trivial jslint violations 2010-09-14 23:22:15 +02:00
angular-mocks.js Change angular-mocks to throw errors on unexpected gets in the format JSTD now expects 2010-10-07 09:34:22 -07:00
AngularSpec.js fixed lint warnings 2010-10-04 09:00:09 -07:00
ApiSpecs.js Added support for functions to $orderBy method 2010-09-26 19:43:39 +02: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 rename textMarkup to markup 2010-07-30 15:19:43 -07:00
ConsoleTest.js tests failing jstd to show cory 2010-04-08 13:43:40 -07:00
directivesSpec.js Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
FiltersTest.js removed google charts and few other filters, switched to simple optimization for compiler 2010-08-11 11:21:03 -07:00
FormattersTest.js injection is now working 2010-04-03 17:04:36 -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
JsonTest.js toJson should serialize inherited properties, but not any properties that start with $ 2010-09-21 16:27:47 +02: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
ParserTest.js Fix bug with Lexer not recognizing exponential values and values starting with dots 2010-10-08 20:41:19 -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 Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00
testabilityPatch.js HEAD is now at 10c0151 Fixes on issue when a SELECT has OPTION which are data bound (ie OPTION has repeater or OPTION.value is bound), then SELECT does not update to match the correct OPTION after the change in model (ie after the OPTION repeater unrolls or OPTION.value is changed.) 2010-09-21 19:20:34 +02: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 Introduced injector and $new to scope, and injection into link methods and controllers 2010-10-12 16:33:06 -07:00