前端Web框架,angular.js 1.3.16 發布
AngularJS誕生于2009年,由Misko Hevery 等人創建,后為Google所收購。是一款優秀的前端JS框架,已經被用于Google的多款產品當中。AngularJS有著諸多特性,最為核心的是:MVVM、模塊化、自動化雙向數據綁定、語義化標簽、依賴注入,等等。 AngularJS是為了克服HTML在構建應用上的不足而設計的。HTML是一門很好的為靜態文本展示設計的聲明式語言,但要構建WEB應用的話它就顯得乏力了。所以我做了一些工作(你也可以覺得是小花招)來讓瀏覽器做我想要的事。 通常,我們是通過以下技術來解決靜態網頁技術在構建動態應用上的不足: 類庫 - 類庫是一些函數的集合,它能幫助你寫WEB應用。起主導作用的是你的代碼,由你來決定何時使用類庫。類庫有:jQuery等 框架 - 框架是一種特殊的、已經實現了的WEB應用,你只需要對它填充具體的業務邏輯。這里框架是起主導作用的,由它來根據具體的應用邏輯來調用你的代碼。框架有:knockout、sproutcore等。 AngularJS使用了不同的方法,它嘗試去補足HTML本身在構建應用方面的缺陷。AngularJS通過使用我們稱為標識符(directives)的結構,讓瀏覽器能夠識別新的語法。例如: 使用雙大括號{{}}語法進行數據綁定; 使用DOM控制結構來實現迭代或者隱藏DOM片段; 支持表單和表單的驗證; 能將邏輯代碼關聯到相關的DOM元素上; 能將HTML分組成可重用的組件。
angular.js 1.3.16 發布,更新內容如下:
Bug 修復
-
$compile: throw error on invalid directive name (634e4671,#11281,#11109)
-
$cookies: update $cookies to prevent duplicate cookie writes and play nice with external code (706a93ab,#11490, #11515)
-
$http: throw error if
success
anderror
methods do not receive a function (731e1f65,#11330, #11333) -
core: ensure that multiple requests to requestAnimationFrame are buffered (0adc0364,#11791)
-
filterFilter: fix matching against
null
/undefined
(9dd0fe35,#11573, #11617) -
jqLite:
-
check for "length" in obj in isArrayLike to prevent iOS8 JIT bug from surfacing (647f3f55,#11508)
-
attr should ignore comment, text and attribute nodes (181e5ebc)
-
ngAnimate:
-
ngAria: handle elements with role="checkbox/menuitemcheckbox" (1c282af5,#11317,#11321)
-
ngModel: allow setting model to NaN when asyncValidator is present (b64519fe,#11315, #11411)
-
ngTouch:
-
check undefined tagName for SVG event target (7560a8d2)
-
register touches properly when jQuery is used (40441f6d,#4001, #8584, #10797,#11488)
-
select: prevent unknown option being added to select when bound to null property (9e3f82bb,#11872, #11875)
特性
該版本下載請點這里。