Fix sencha touch 2.1 issue with templating

            xtype: 'component',
            tpl: [
                '<tpl for="items">',
                '<div index="{[xindex - 1]}" class="{parent.itemCls} x-rating-item">',
                '</div>',
                '</tpl>',
                '<tpl if="clearIcon">',
                '<div class="{clearCls}">',
                '</div>',
                '</tpl>'].join(""),
            cls: 'x-rating-inner'