aboutsummaryrefslogtreecommitdiffstats
path: root/src/Scope.js
AgeCommit message (Collapse)Author
2010-10-31fix typo, and change a list to string for more efficient compression.Misko Hevery
2010-10-18JSON parser is now strict (ie, expressions are not allowed for security)Misko Hevery
Close #57
2010-10-15removed unneeded function rethrow from scope which was interfering with the ↵Misko Hevery
test rethrow function
2010-10-14use new Function instead of eval()Misko Hevery
Close #52
2010-10-14temporary backwards compatibility patch forIgor Minar
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-13temparary backaward compatibility patch for Controller.initIgor Minar
- feedback relies on *Controller.init to be called when a Controller is being created. this with previous angular refactoring this is not happening in angular any more. To make it easier for feedback to transition, this change makes $become call controller's init method if present. - call to Controller.init from $route.updateRoute was removed. this was left there by accident during the previous refactoring.
2010-09-21HEAD is now at 10c0151 Fixes on issue when a SELECT has OPTION which are ↵Misko Hevery
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-14Fixed all trivial jslint violationsMisko Hevery
2010-08-18stringify names for better compression, remove dead functions, removed ↵Misko Hevery
underscore.js compatibility
2010-08-13initial perf testingMisko Hevery
2010-08-11clean up for better obfuscationMisko Hevery
2010-08-10fix bug where $eval on undefined throws errorMisko Hevery
2010-07-26minor speed improvementsMisko Hevery
2010-07-26minor performance improvementsMisko Hevery
2010-07-20clean up error handling a bit.Misko Hevery
2010-07-15updated list of JavaScript keywordsMisko Hevery
2010-07-08added class as a constant keyword to generated codeMisko Hevery
2010-07-02changed the eval for ie to be able to return a functionMisko Hevery
2010-07-02fixed special keywords in chrome such as x.throw must be x["throw"].Misko Hevery
2010-06-02Revert "Revert "removed few key foreach and replaced thime with for loop for ↵Shyam Seshadri
performance."" This reverts commit a29c5e4c7fd5e708c28e70e974bf873621d5277c.
2010-06-02Revert "removed few key foreach and replaced thime with for loop for ↵Shyam Seshadri
performance." This reverts commit 6143b04384680d17f38c2d5894a9b9961ea33288.
2010-05-31removed few key foreach and replaced thime with for loop for performance.Misko Hevery
2010-05-30added compiled getterFN for better performanceMisko Hevery
2010-05-30compiler exposos both self and this function calling conventionMisko Hevery
2010-05-30improve error handling with elementsMisko Hevery
2010-05-30remove the relience of parser an special self object, now passing generic selfMisko Hevery
2010-05-30remove the uneeded call to createScope when evaluating expressionsMisko Hevery
2010-05-19added error handler to xhr requestsMisko Hevery
2010-05-13fixed issue with radio view clobering model if radio was checked.Misko Hevery
2010-05-07change everything over to jasmineMisko Hevery
2010-05-07xhr bulk fixesMisko Hevery
2010-04-29added $xhr service with bulk and cache, hooked up $resourceMisko Hevery
2010-04-16lots of small fixesMisko Hevery
2010-04-15added $route serviceMisko Hevery
2010-04-09various bug fixesMisko Hevery
2010-04-07clean up, fixes for appMisko Hevery
2010-04-05added ng-controller directiveMisko Hevery
2010-04-05added ng:switch widgetMisko Hevery
2010-04-03injection is now workingMisko Hevery
2010-04-02radio now works with repeatersMisko Hevery
2010-04-02mergeMisko Hevery
2010-04-02widgets now work properlyMisko Hevery
2010-03-31started to add servicesMisko Hevery
2010-03-31started to add servicesMisko Hevery
2010-03-31all tests green, some dissabledMisko Hevery
2010-03-30more tests passingMisko Hevery
2010-03-30more tests fixedMisko Hevery
2010-03-29reenabled more testsMisko Hevery
2010-03-29dissabled a lot of tests, and made the core test set pass.Misko Hevery