From 83e36db85d471597c16a9b5cd378fd9b434e6a67 Mon Sep 17 00:00:00 2001 From: Andreas Krummsdorf Date: Fri, 28 Mar 2014 13:48:45 +0100 Subject: [PATCH] style(loader.js): correct JSDoc tags of the params of the function module(name, requires, configFn) This will improve the hints for IDE's which support the Google Closure Compiler (e.g. Webstorm) --- src/loader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/loader.js b/src/loader.js index 32ce08ee..5b368272 100644 --- a/src/loader.js +++ b/src/loader.js @@ -72,9 +72,9 @@ function setupModuleLoader(window) { * {@link angular.bootstrap} to simplify this process for you. * * @param {!string} name The name of the module to create or retrieve. - * @param {Array.=} requires If specified then new module is being created. If + * @param {!Array.=} requires If specified then new module is being created. If * unspecified then the module is being retrieved for further configuration. - * @param {Function} configFn Optional configuration function for the module. Same as + * @param {Function=} configFn Optional configuration function for the module. Same as * {@link angular.Module#config Module#config()}. * @returns {module} new module with the {@link angular.Module} api. */