Fix _.lateBind doc typo.

Former-commit-id: 3284bee699837ab380a3e8fd2853f8bdcf0684b6
This commit is contained in:
John-David Dalton
2012-10-01 08:53:37 -07:00
parent 8bcdfa2793
commit 5167bbf59e
2 changed files with 97 additions and 96 deletions

View File

@@ -3303,7 +3303,8 @@
/**
* Creates a function that, when called, invokes `object[methodName]` and
* prepends any additional `lateBind` arguments to those passed to the bound
* function. This method
* function. This method differs from `_.bind` by allowing bound functions to
* reference methods that will be redefined or don't yet exist.
*
* @static
* @memberOf _
@@ -3321,7 +3322,7 @@
* }
* };
*
* var func = _.bind(object, 'greet', 'hi');
* var func = _.lateBind(object, 'greet', 'hi');
* func();
* // => 'hi moe'
*