angular.js v1.2.2 Release Notes

Release Date: 2013-11-22 // over 10 years ago
  • ๐Ÿ› Bug Fixes

    • $animate:
      • ensure keyframe animations are blocked around the reflow (6760d7a3, #5018)
      • ensure transition animations are unblocked before the dom operation occurs (062fbed8, #5014, #4265)
      • ensure addClass/removeClass animations do not snap during reflow (76e4db6f, #4892)
      • ensure the DOM operation isn't run twice (7067a8fb, #4949)
    • $compile:
      • secure form[action] & iframe[srcdoc] (0421cb42, #4927, #4933)
      • ensure CSS classes are added and removed only when necessary (0cd7e8f2)
    • $httpBackend: only IE8 and below can't use script.onload for JSONP (a3172a28, #4523, #4527, #4922)
    • ๐Ÿ“œ $parse: allow for new lines in expr when promise unwrapping is on (40647b17, #4718)
    • $resource: Always return a resource instance when calling class methods on resources. (f6ecf9a3, #4545, #5061)
    • httpBackend: should not read response data when request is aborted (6f1050df, #4913, #4940)
    • loader: expose $$minErr to modules such asngResource (9e89a31b, #5050)
    • ngAnimate:
      • correctly retain and restore existing styles during and after animation (c42d0a04, #4869)
      • use a fallback CSS property that doesn't break existing styles (1d50663b, #4902, #5030)
    • ngClass: ensure that ngClass only adds/removes the changed classes (6b8bbe4d, #4960, #4944)
    • ngController: fix issue with ngInclude on the same element (6288cf5c, #4431)
    • ngInclude:
      • Don't throw when the ngInclude element contains content with directives. (0a7cbb33)
      • allow ngInclude to load scripts when jQuery is included (c47abd0d, #3756)
    • ngMock: fixes httpBackend expectation with body object (4d16472b, #4956)
    • ngView: Don't throw when the ngView element contains content with directives. (e6521e74, #5069)
    • โœ… tests: Correct tests for IE11 (57924234, #5046)
    • input: hold listener during text composition (a4e6d962, #4684)