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

@@ -342,7 +342,7 @@
* Creates a context object to use with `vm.runInContext`.
*
* @private
* @returns {object} Returns a new context object.
* @returns {Object} Returns a new context object.
*/
function createContext() {
return vm.createContext({
@@ -356,8 +356,8 @@
* Expands a list of function names to include real and alias names.
*
* @private
* @param {array} funcNames The array of function names to expand.
* @returns {array} Returns a new array of expanded function names.
* @param {Array} funcNames The array of function names to expand.
* @returns {Array} Returns a new array of expanded function names.
*/
function expandFuncNames(funcNames) {
return funcNames.reduce(function(result, funcName) {
@@ -372,7 +372,7 @@
*
* @private
* @param {string} funcName The name of the function to get aliases for.
* @returns {array} Returns an array of aliases.
* @returns {Array} Returns an array of aliases.
*/
function getAliases(funcName) {
return realToAliasMap[funcName] || [];
@@ -393,7 +393,7 @@
* Tests if a given method can be called successfully.
*
* @private
* @param {object} lodash The built Lo-Dash object.
* @param {Object} lodash The built Lo-Dash object.
* @param {string} funcName The name of the method to test.
* @param {string} message The unit test message.
*/

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