当我升级了NG-repeat接受超长装载,并试图不正在由$资源服务的内容,以显示更多的内容框。角JS失败升级后从1.1.0到1.1.1
我已经缩小的问题降到1.1.0和1.1.1的更新。我浏览了更新日志,但没有发现我是罪魁祸首,但它必须在那里。
更新日志=>https://github.com/angular/angular.js/blob/master/CHANGELOG.md#111-pathological-kerning-2012-11-26
为这个应用程序的存储库=>https://github.com/brianpetro/resume
目前我的角度看起来像:
app = angular.module("Resume", ["ngResource"])
app.factory "Entry", ["$resource", ($resource) ->
$resource("/entries")
]
@EntryCtrl = ["$scope", "Entry", ($scope, Entry) ->
$scope.entries = Entry.query()
]
这可能发生在使用NG-重复多个视图:
<html ng-app="Resume">
<div ng-controller="EntryCtrl">
<ul>
<li ng-repeat="entry in entries">
{{entry.title}}
</li>
</ul>
</div>
</html>
这是AngularJS 1.1.0版本: 这是AngularJS版本1.1.1:
发表的jsfiddle。 – Stewie 2013-04-04 12:48:09
'/ echo/json'返回'{}',所以我不得不用一个模型替换你的资源(使用超时)。我无法看到ng-repeat的任何问题。 [小提琴](http://jsfiddle.net/davwG/)。 – Stewie 2013-04-04 13:46:02