Skip to content
This repository was archived by the owner on Jan 27, 2024. It is now read-only.
This repository was archived by the owner on Jan 27, 2024. It is now read-only.

Shiv for "sortedIndex" #15

@aikoven

Description

@aikoven

Shiv for "min" and "max" breaks "sortedIndex" on arrays of strings:

_.sortedIndex(['a', 'd', 'f'], 'c')

Second argument is transformed to propGetterFactory:

args[1] = propGetterFactory(args[1]);

https://github.com/floydsoft/angular-underscore/blob/master/angular-underscore.js#L28

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions