js/core/List.js
function (list) {
            if (list.size() !== this.size()) {
                return false;
            }
            var isEqual = true,
                a, b;
            for (var i = 0; i < this.$items.length; i++) {
                a = this.$items[i];
                b = list.at(i);
                if (a instanceof Bindable && b instanceof Bindable) {
                    if (!a.isDeepEqual(b)) {
                        return false;
                    }
                } else if (a instanceof Bindable || b instanceof Bindable) {
                    return false;
                } else {
                    isEqual = _.isEqual(a, b);
                }
            }

            return isEqual;
        }
function (list) {
            if (list.size() !== this.size()) {
                return false;
            }
            var isEqual = true,
                a, b;
            for (var i = 0; i < this.$items.length; i++) {
                a = this.$items[i];
                b = list.at(i);
                if (a instanceof Bindable && b instanceof Bindable) {
                    if (!a.isDeepEqual(b)) {
                        return false;
                    }
                } else if (a instanceof Bindable || b instanceof Bindable) {
                    return false;
                } else {
                    isEqual = _.isEqual(a, b);
                }
            }

            return isEqual;
        }
function ( list ) { if ( list . size ( ) !== this . size ( ) ) { return false ; } var isEqual = true , a , b ; for ( var i = 0 ; i < this . $items . length ; i ++ ) { a = this . $items [ i ] ; b = list . at ( i ) ; if ( a instanceof Bindable && b instanceof Bindable ) { if ( ! a . isDeepEqual ( b ) ) { return false ; } } else if ( a instanceof Bindable || b instanceof Bindable ) { return false ; } else { isEqual = _ . isEqual ( a , b ) ; } } return isEqual ; }
Checks if items are deep equal
@param {js.core.List} list
@return {boolean}
Checks if items are deep equal