• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

joemfb / ml-search-ng / 53
100%

Build:
DEFAULT BRANCH: master
Ran 13 Dec 2016 09:08PM UTC
Jobs 2
Files 12
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
53

Pull #110

travis-ci

web-flow
Replace deprecated lodash functions

See https://github.com/lodash/lodash/wiki/Deprecations

I discovered this when trying to "See more" facets on a project using
Lodash 4.x. I believe these lodash changes are backward-compatible (they
just removed one of the aliases)

Lodash 4.x also got rid of the optional `thisArg` argument to `_.each`
and other methods. This page shows how to update client code:

https://github.com/lodash/lodash/wiki/Changelog#v400

in particular, use `bind`:

```javascript
// in 3.10.1
_.map(objects, callback, context);

// in 4.0.0
_.map(objects, _.bind(callback, context));
```

Also bumped lodash version (no longer works on 2.4.x)
Pull Request #110: Replace deprecated lodash functions

4 of 4 new or added lines in 2 files covered. (100.0%)

654 of 654 relevant lines covered (100.0%)

36.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 53.1 13 Dec 2016 09:08PM UTC 0
100.0
Travis Job 53.1
2 53.2 13 Dec 2016 09:14PM UTC 0
100.0
Travis Job 53.2
Source Files on build 53
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #53
  • Pull Request #110
  • PR Base - master (#49)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc