scenario repeater should match only visible stuff

This commit is contained in:
Igor Minar 2010-11-10 20:37:14 -08:00
parent c5b2bf083c
commit ae5f6f48b4

View file

@ -308,7 +308,7 @@ _jQuery.fn.bindings = function(name) {
text && text.indexOf(value) >= 0;
}
var result = [];
this.find('.ng-binding').each(function() {
this.find('.ng-binding:visible').each(function() {
var element = new _jQuery(this);
if (!angular.isDefined(name) ||
contains(element.attr('ng:bind'), name) ||