mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Use jsdelivr combo src for fp example. [ci skip]
This commit is contained in:
@@ -9,8 +9,7 @@ to produce immutable auto-curried iteratee-first data-last methods.
|
|||||||
|
|
||||||
In a browser:
|
In a browser:
|
||||||
```html
|
```html
|
||||||
<script src='path/to/lodash.js'></script>
|
<script src='https://cdn.jsdelivr.net/g/lodash@4(lodash.min.js+lodash.fp.min.js)'></script>
|
||||||
<script src='path/to/lodash.fp.js'></script>
|
|
||||||
<script>
|
<script>
|
||||||
// Loading `lodash.fp.js` converts `_` to its fp variant.
|
// Loading `lodash.fp.js` converts `_` to its fp variant.
|
||||||
_.defaults({ 'a': 2, 'b': 2 })({ 'a': 1 });
|
_.defaults({ 'a': 2, 'b': 2 })({ 'a': 1 });
|
||||||
|
|||||||
Reference in New Issue
Block a user