Open aikoven opened 10 years ago
Shiv for "min" and "max" breaks "sortedIndex" on arrays of strings:
_.sortedIndex(['a', 'd', 'f'], 'c')
Second argument is transformed to propGetterFactory:
propGetterFactory
args[1] = propGetterFactory(args[1]);
https://github.com/floydsoft/angular-underscore/blob/master/angular-underscore.js#L28
Shiv for "min" and "max" breaks "sortedIndex" on arrays of strings:
Second argument is transformed to
propGetterFactory
:https://github.com/floydsoft/angular-underscore/blob/master/angular-underscore.js#L28