Jung-Hyun
Jung-Hyun

Reputation: 353

Why does lodash run test suites of backbone.js and underscore.js?

I am new to lodash and currently learning it. One question came up when I looked at the Github repository of it. In the Github respository, the test directory includes test suites of backbone.js and underscore.js (Link). I am curious why lodash run test suites of other JavaScript libraries.

Upvotes: 1

Views: 138

Answers (1)

Emile Bergeron
Emile Bergeron

Reputation: 17430

From the lodash wiki:

Lodash works great with Backbone. It’s even run against Backone’s unit tests on every commit. You can replace Underscore with Lodash in Backbone by using an AMD loader, browserify, or webpack.

Note: Lodash v4 works with Backbone ≥ v1.3.0.

Upvotes: 1

Related Questions