aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngMock/angular-mocks.js
AgeCommit message (Collapse)Author
2012-05-14fix(jqLite): .data()/.bind() memory leakMisko Hevery
Since angular attaches scope/injector/controller into DOM it should clean up after itself. No need to complain about memory leaks, since they can only happened on detached DOM. Detached DOM would only be in tests, since in production the DOM would be attached to render tree and removal would automatically clear memory.
2012-05-14fix(angular-mocks): memory leak in jasmine's DI utilsMisko Hevery
When using inject/module helper methods in tests, these methods would leave the injector laying around after the test. Since injector is the application it can grow very large.
2012-04-20feat($resource): support HTTP PATCH methodsimpulton
Properly serialize data into request body instead of url. Closes #887
2012-04-20chore(license): update to googleMisko Hevery
2012-04-10chore(*): remove dead code and fix code style issuesIgor Minar
2012-04-09chore($browser): remove the addJs methodIgor Minar
this was never meant to be a public api used by apps. I refactored the code to hide the functionality. BREAKING CHANGE: $browser.addJs method was removed apps that depended on this functionality should either use many of the existing script loaders or create a simple helper method specific to the app.
2012-03-28feat(TzDate): add support for toISOString methodIgor Minar
2012-03-28refactor(fromJson/date filter): move date string logic to date filterIgor Minar
Breaks angular.fromJson which doesn't deserialize date strings into date objects. This was done to make fromJson compatible with JSON.parse. If you do require the old behavior - if at all neeeded then because of json deserialization of XHR responses - then please create a custom $http transform: $httpProvider.defaults.transformResponse.push(function(data) { // recursively parse dates from data object here // see code removed in this diff for hints }); Closes #202
2012-03-28chore(module): move files around in preparation for more modulesMisko Hevery