mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Minor doc nits. [ci skip]
This commit is contained in:
@@ -9467,7 +9467,7 @@
|
|||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
* jQuery(element).on('click', _.before(5, addContactToList));
|
* jQuery(element).on('click', _.before(5, addContactToList));
|
||||||
* // => allows adding up to 4 contacts to the list
|
* // => Allows adding up to 4 contacts to the list.
|
||||||
*/
|
*/
|
||||||
function before(n, func) {
|
function before(n, func) {
|
||||||
var result;
|
var result;
|
||||||
@@ -10028,7 +10028,7 @@
|
|||||||
* var initialize = _.once(createApplication);
|
* var initialize = _.once(createApplication);
|
||||||
* initialize();
|
* initialize();
|
||||||
* initialize();
|
* initialize();
|
||||||
* // `initialize` invokes `createApplication` once
|
* // => `createApplication` is invoked once
|
||||||
*/
|
*/
|
||||||
function once(func) {
|
function once(func) {
|
||||||
return before(2, func);
|
return before(2, func);
|
||||||
|
|||||||
Reference in New Issue
Block a user