Skip to content

Commit

Permalink
Utils _ (underscore lib) context removed #4403 (#4417)
Browse files Browse the repository at this point in the history
Test aren't going to run since it's only a doc change

* Utils _ (underscore lib) context removed  #4403

* changelog updated for #4403
  • Loading branch information
JahanzebNawaz authored Oct 8, 2021
1 parent ecc5c30 commit 2ccce7c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ Released with 1.0.0-beta.37 code base.
- Not considering `tx.chainId` if `tx.common.customChain.chainId` is provided for `web3.eth.accounts.signTransaction` function (#4293)
- Added missing PromiEvent handler types (#4194)
- Updated README to include Webpack 5 angular support instructions (#4174)
- Updated the documentation for the `Web3.utils`, removed context for `_` (underscore lib) (#4403)
- Emit subscription id with connect event when creating a subscription (#4300)
- Introduced new configuration "blockHeaderTimeout" for waiting of block headers for transaction receipt (#3891)
- Format `block.baseFeePerGas` to number (#4330)
Expand Down
30 changes: 0 additions & 30 deletions docs/web3-utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,36 +89,6 @@ Example
------------------------------------------------------------------------------

_
=====================

.. code-block:: javascript
web3.utils._()
The `underscore <http://underscorejs.org>`_ library for many convenience JavaScript functions.

See the `underscore API reference <http://underscorejs.org>`_ for details.

-------
Example
-------

.. code-block:: javascript
var _ = web3.utils._;
_.union([1,2],[3]);
> [1,2,3]
_.each({my: 'object'}, function(value, key){ ... })
...
------------------------------------------------------------------------------

.. _utils-bn:
Expand Down

0 comments on commit 2ccce7c

Please sign in to comment.