mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
More JSDoc cleanup. [closes #334]
Former-commit-id: dcb55079320e3bcd35c3bf4f36d18f393f16e426
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* @private
|
||||
* @param {Element} element The element.
|
||||
* @param {string} eventName The name of the event.
|
||||
* @param {function} handler The event handler.
|
||||
* @param {Function} handler The event handler.
|
||||
* @returns {Element} The element.
|
||||
*/
|
||||
function addListener(element, eventName, handler) {
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
* See http://en.wikipedia.org/wiki/Geometric_mean#Relationship_with_arithmetic_mean_of_logarithms.
|
||||
*
|
||||
* @private
|
||||
* @param {array} array The array of values.
|
||||
* @param {Array} array The array of values.
|
||||
* @returns {number} The geometric mean.
|
||||
*/
|
||||
function getGeometricMean(array) {
|
||||
@@ -127,7 +127,7 @@
|
||||
* margin of error.
|
||||
*
|
||||
* @private
|
||||
* @param {object} bench The benchmark object.
|
||||
* @param {Object} bench The benchmark object.
|
||||
* @returns {number} Returns the adjusted Hz.
|
||||
*/
|
||||
function getHz(bench) {
|
||||
@@ -591,7 +591,7 @@
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
suites.push(
|
||||
Benchmark.Suite('`_.bind` (uses native `Function#bind` if available and inferred fast)')
|
||||
Benchmark.Suite('`_.bind` with partially applied arguments (uses native `Function#bind` if available and inferred fast)')
|
||||
.add(buildName, {
|
||||
'fn': 'lodash.bind(func, { "name": "moe" }, "hi")',
|
||||
'teardown': 'function bind(){}'
|
||||
|
||||
Reference in New Issue
Block a user