Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

$even and $odd constant are loss #23

@carlosfcocruz

Description

@carlosfcocruz

I fixed this issue by adding before this line
https://github.com/scalyr/angular/blob/master/src/js/directives/slyRepeat.js#L110

newElement.scope.$even = i % 2 === 0;
newElement.scope.$odd = i % 2 === 1;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions