Source: widgets/carousel/strips/culling.js

define('application/widgets/carousel/strips/culling', [
    'antie/widgets/carousel/strips/cullingstrip'
], function (
    CullingStrip
) {

    'use strict';

    return CullingStrip.extend({

        /**
         * Attaches the child widgets of the given indexes.
         *
         * @param {Array} indexArray - The indexes to attach.
         */
        attachIndexedWidgets: function attachIndexedWidgets (indexArray) {
            attachIndexedWidgets.base.call(this, indexArray);

            this._attachedIndexes = indexArray;
        },

        /**
         * Returns the attached indexes.
         *
         * @returns {Array} - The attached indexes.
         */
        getAttachedIndexes: function () {
            return this._attachedIndexes;
        }
    });
});