mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-01 06:22:39 +08:00
Replace underscore by lodash
Summary:As far as we agreed to merge `rnpm` into react-native core, we need to align our dependencies to exclude duplications. One of the steps forward would be to use the same utilities library. According to the thread on fb, everybody is fine with replacing underscore by lodash (which we use internally for rnpm). So, here we go! cc mkonicek davidaurelio grabbou **Test plan** ``` $ npm test ```  **Code formatting** Changes are aligned with the current [style guide](https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#style-guide). Closes https://github.com/facebook/react-native/pull/6030 Differential Revision: D3016271 Pulled By: davidaurelio fb-gh-sync-id: c4f6776a7de7470283d3ca5a8b56e423247f5e45 shipit-source-id: c4f6776a7de7470283d3ca5a8b56e423247f5e45
This commit is contained in:
committed by
Facebook Github Bot 3
parent
f2483eb1ee
commit
db3a00d58c
@@ -10,7 +10,6 @@
|
||||
|
||||
jest.setMock('uglify-js')
|
||||
.mock('child_process')
|
||||
.dontMock('underscore')
|
||||
.dontMock('../');
|
||||
|
||||
var SocketInterface = require('../');
|
||||
|
||||
Reference in New Issue
Block a user