aboutsummaryrefslogtreecommitdiffstats
path: root/test/ScenarioSpec.js
AgeCommit message (Collapse)Author
2011-02-16Change API angular.compile(element)([scope], [element/true])Misko Hevery
2011-02-16remove $init on scope from applying compilation templateMisko Hevery
Closes #40
2011-01-24fixed example rendering, add tests for it.Misko Hevery
2011-01-04rename scope.$inject to scope.$serviceIgor Minar
see changelog diff for more info
2011-01-04Remove many eager-publish services, lazy pollingMisko Hevery
- Browser now starts the poller on first call to addPollFn() - Many services ($location, $cookies, $router) are no longer eager-publish. The result is that unless someone needs the $cookies, they will not cause the Browser to start polling for them.
2010-12-02Closes #170. Corrected the behavior of select when options are ng:repeatedMisko Hevery
- Delete $postEval method, as it was a hack
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-09-22Refactored the Browser:Misko Hevery
- change from using prototype to inner functions to help with better compression - removed watchers (url/cookie) and introduced a poller concept - moved the checking of URL and cookie into services which register with poolers Benefits: - Smaller minified file - can call $browser.poll() from tests to simulate polling - single place where setTimeout needs to be tested - More testable $browser
2010-07-02change all attributes from ng- to ng: prefixMisko Hevery
2010-04-08tests failing jstd to show coryMisko Hevery
2010-04-05added ng:switch widgetMisko Hevery
2010-03-30more tests fixedMisko Hevery
2010-03-29dissabled a lot of tests, and made the core test set pass.Misko Hevery
2010-02-04updateView is now called on binder instead of scopeMisko Hevery
2010-01-24changes to make it closure compiler compatibleMisko Hevery
2010-01-23lots of cleanup to get it ready for OSMisko Hevery