More JSDoc cleanup. [closes #334]

Former-commit-id: dcb55079320e3bcd35c3bf4f36d18f393f16e426
This commit is contained in:
John-David Dalton
2013-08-26 22:01:44 -07:00
parent e322f6dbe2
commit c3f5bc6bfb
23 changed files with 1659 additions and 1631 deletions

View File

@@ -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) {

View File

@@ -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(){}'