JavaScript 框架,Angular.js 1.4.4 發布

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

一款優秀的前端JS框架,已經被用于Google的多款產品當中。AngularJS有著諸多特性,最為核心的是:MVVM、模塊化、自動化雙向數據綁定、語義化標簽、依賴注入等等。

 

Angular.js 1.4.4 發布,更新內容如下:

Bug 修復

  • $animate:

    </li>

    • leave animation callback should not overridden by follow-up animation (92e41ac9,#12271, #12249, #12161)

      </li>

    • make sure to run a post-digest reflow for parentless animations (861636c6,#12400, #12401)

      </li>

    • ensure that class-based animations are properly applied when cancelled (21d6db38,#12266, #12007)

      </li> </ul>

    • $animateCss: make sure that skipBlocking avoids the pre-emptive transition-delay styling (11695ca6)

      </li>

    • $compile:

      </li>

      • don't trigger $observer if initial value is undefined(6f3b8622,#12383, #12464)

        </li>

      • ignore optional =-bound properties with empty value (533d9b76,#12144, #12259, #12290)

        </li> </ul>

      • $injector: Allows ES6 function syntax (44a96a4c,#12424, #12425)

        </li>

      • $location: don't crash if navigating outside the app base (9e492c35,#11667)

        </li>

      • $q: Use extend to avoid overwriting prototype (3abb3fef,#10697)

        </li>

      • $rootScope: don't clear phase if $apply is re-entered (e0cf496f,#12174)

        </li>

      • Angular: allow unescaped = signs in values in parseKeyValue(f13852c1,#12351)

        </li>

      • httpParamSerializerJQLike: Follow jQuery for index of arrays of objects (18a2e4fb)

        </li>

      • i18n: by default put negative sign before currency symbol (96f2e3be,#10158)

        </li>

      • injector: check that modulesToLoad isArray. (5abf593e,#12285)

        </li>

      • input: Firefox validation trigger (e7423168,#12102)

        </li>

      • merge: regExp should not be treated as a objects when merging. (a5221f32,#12419, #12409)

        </li>

      • ng/$locale: by default put negative sign before currency symbol (52986724,#10158)

        </li>

      • ngAnimate:

        </li>

        • always apply a preparation reflow for CSS-based animations (d33cedda,#12553, #12554, #12267, #12554)

          </li>

        • ensure that only string-based addClass/removeClass values are applied (0d6fc2dc,#12458, #12459)

          </li>

        • ensure that parent class-based animations are never closed by their children (32d3cbb3,#11975, #12276)

          </li>

        • allow animations on body and root elements (44ce9c82,#11956, #12245)

          </li>

        • $timeout without invokeApply (7db5f361,#12281, #12282)

          </li> </ul>

        • ngCsp: allow CSP to be configurable (618356e4,#11933, #8459, #12346)

          </li>

        • ngModel: correct minErr usage for correct doc creation (a268c29f,#12386, #12416)

          </li>

        • ngOptions: allow empty option selection with multiple attribute (c11a7d67,#12511, #12541)

          </li>

        • ngSanitize: escape the wide char quote marks in a regex in linky.js (39ff3332,#11609)

          </li> </ul>

          特性

          • $animateCss: expose a core version of $animateCss(39b634e5,#12509)

            </li>

          • $httpProvider: add 'useLegacyPromiseExtensions' configuration (a8f7e9cf,#12112, #10508)

            </li>

          • orderBy: Stable sort the input (ed3a33a0,#12408, #12405)

            </li> </ul>

            性能提升

            • $q: small $q performance optimization (6838c979,#12535)

              </li> </ul>

              重大改進

              • ngAnimate: due to 32d3cbb3, CSS classes added/removed by ngAnimate are now applied synchronously once the first digest has passed.

                </li> </ul>

                更多內容請查看更新日志

                該版本下載請點這里


                 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
                 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
                 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!