Skip to content

Lodash's _.rest is different from Underscore's #943

@monovertex

Description

@monovertex

From what I read in the other issues, I understand that with 3.0, Lodash has dropped the Underscore replacement build for Backbone because they are compatible. However, Underscore.js 1.7 has a different _.rest definition (_.rest(array, [index])) from Lodash.js 3.1 (_.rest(array)).

This breaks a Backbone plugin, namely Backbone.Stickit. I cannot switch back to underscore, because I use certain features that are only available in Lodash.

I was under the impression that Lodash is providing what Underscore provides and more (and faster). I only found this issue so far, but there could be more. Could you advise me what do to in this situation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions