Angular.js 1.4.6/1.5.0-beta.0 發布

jopen 9年前發布 | 9K 次閱讀 Angular.JS

Angular.js 1.4.6/ 1.5.0-beta.0 發布。1.4.6 更新內容如下:

Bug Fixes

  • $animate: invalid CSS class names should not break subsequent elements (c3a654b7,#12674, #12725)

    </li>

  • $browser: handle async updates to location (8d39bd8a,#12241, #12819)

    </li>

  • $http: propagate status -1 for timed out requests (38520a1a,#4491, #8756)

    </li>

  • $httpBackend: send null when post-data is undefined (6f39f108,#12141, #12739)

    </li>

  • $parse:

    </li>

    • throw error when accessing a restricted property indirectly (b2f8b0b8,#12833)

      </li>

    • assign returns the new value (7d2c6eee,#12675, #12708)

      </li> </ul>

    • angular.copy: support copying XML nodes (122ab074,#5429, #12786)

      </li>

    • form, ngModel: correctly notify parent form when children are added (c6110e8b)

      </li>

    • input: ignore min/max if they are empty on all input types (544001f5,#12363, #12785)

      </li>

    • ngAnimateMock: $animate.flush should work for looping animations (472d076c)

      </li>

    • ngAria: clean up tabindex usage (f48244ce,#11500)

      </li>

    • ngJq: properly detect when ng-jq is empty (19ecdb54,#12741)

      </li>

    • ngModel:

      </li>

      • remove reference to parentForm from removed control (290b5049,#12263)

        </li>

      • let aliased validator directives work on any element (43769fb6,#12158, #12658)

        </li> </ul>

      • ngRepeat: add support to iterate an object's properties even if it does not inherit from Object (7ea2c7f3,#9964)

        </li>

      • rootScope: add support for watchCollection to watch an object which does not inherit from Object (20fb626b,#9964)

        </li>

      • select: update option if interpolated value attribute changes (82b0929e,#12005, #12582)

        </li>

      • toDebugString: change replacement string (0ca8b1df,#10103)

        </li> </ul>

        Performance Improvements