aboutsummaryrefslogtreecommitdiffstats
path: root/test/ngMock
diff options
context:
space:
mode:
authorIgor Minar2012-03-26 23:38:20 -0700
committerIgor Minar2012-03-28 16:30:30 -0700
commitac4318a2fa5c6d306dbc19466246292a81767fca (patch)
treea8d9d0ff164516b153bf4c9142d1c9fb17315008 /test/ngMock
parentbb2fa6f63f0a4a08d4a3a5439d1ab6d9ddfd917e (diff)
downloadangular.js-ac4318a2fa5c6d306dbc19466246292a81767fca.tar.bz2
refactor(fromJson/date filter): move date string logic to date filter
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
Diffstat (limited to 'test/ngMock')
0 files changed, 0 insertions, 0 deletions