a8m / a8m/angular-filter

After, Before are 1-Indexed Instead of 0-indexed

Aberta Para iniciantes
#128 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
2.9k
Forks
319
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

I would suggest a change, but this would break a lot of stuff. Therefore, I suggest changing the documentation to reflect that it's 1-indexed, as this is confusing and I thought it wasn't working (I was doing before:1 assuming it would give me the first item as a collection but it gave me nothing instead. Don't suggest "first," as I wanted a collection to run through a template and then had after:1 going through the same template)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Find the documentation for the 'after' and 'before' filters in the project's README or docs. Update the text to clearly state they are 1-indexed. Verify by checking the filter implementation in the source code to confirm the indexing behavior.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
angularjs, javascript
Domínio
documentation
Tipo de issue
Documentação
Dificuldade
1/5
Tempo estimado
Menos de uma hora
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
85/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.