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

Shiv for "sortedIndex" #15

Open
aikoven opened this issue Jun 20, 2014 · 0 comments
Open

Shiv for "sortedIndex" #15

aikoven opened this issue Jun 20, 2014 · 0 comments

Comments

@aikoven
Copy link

aikoven commented Jun 20, 2014

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant