Author: lindner
Date: Wed Oct 27 07:41:08 2010
New Revision: 1027848
URL: http://svn.apache.org/viewvc?rev=1027848&view=rev
Log:
closure-compiler nits
Modified:
shindig/trunk/features/src/main/javascript/features/core.legacy/legacy.js
shindig/trunk/features/src/main/javascript/features/opensocial-data/data.js
shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
shindig/trunk/features/src/main/javascript/features/opensocial-reference/datarequest.js
shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js
Modified:
shindig/trunk/features/src/main/javascript/features/core.legacy/legacy.js
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/core.legacy/legacy.js?rev=1027848&r1=1027847&r2=1027848&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/core.legacy/legacy.js
(original)
+++ shindig/trunk/features/src/main/javascript/features/core.legacy/legacy.js
Wed Oct 27 07:41:08 2010
@@ -375,7 +375,7 @@ function _exportSymbols(name, sym) {
* @deprecated
* @param {Object} src
* @param {string} etype
- * @param {function} func
+ * @param {function()} func
* TODO - implement.
*/
function _IG_AddDOMEventHandler(src, etype, func) {
Modified:
shindig/trunk/features/src/main/javascript/features/opensocial-data/data.js
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/opensocial-data/data.js?rev=1027848&r1=1027847&r2=1027848&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/opensocial-data/data.js
(original)
+++ shindig/trunk/features/src/main/javascript/features/opensocial-data/data.js
Wed Oct 27 07:41:08 2010
@@ -393,7 +393,7 @@ opensocial.data.extractJson_ = function(
/**
* Registers a tag as a data request handler.
* @param {string} name Prefixed tag name.
- * @param {function} handler Method to call when this tag is invoked.
+ * @param {function(DataResponse)} handler Method to call when this tag is
invoked.
*
* TODO: Store these tag handlers separately from the ones for UI tags.
* TODO: Formalize the callback interface.
Modified:
shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js?rev=1027848&r1=1027847&r2=1027848&view=diff
==============================================================================
---
shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
(original)
+++
shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
Wed Oct 27 07:41:08 2010
@@ -382,8 +382,7 @@ opensocial.Container.prototype.newFetchA
* idSpec An IdSpec used to specify which media items to fetch.
* @param {string}
* albumId The id of the album to fetch MediaItems from.
- * @param {Object.
- * <Object, Object>=} opt_params Additional parameters to pass to the
request.
+ * @param {Object.<Object, Object>=} opt_params Additional parameters to pass
to the request.
* @return {Object} A request object
*/
opensocial.Container.prototype.newFetchMediaItemsRequest = function(idSpec,
opt_params) {};
Modified:
shindig/trunk/features/src/main/javascript/features/opensocial-reference/datarequest.js
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/opensocial-reference/datarequest.js?rev=1027848&r1=1027847&r2=1027848&view=diff
==============================================================================
---
shindig/trunk/features/src/main/javascript/features/opensocial-reference/datarequest.js
(original)
+++
shindig/trunk/features/src/main/javascript/features/opensocial-reference/datarequest.js
Wed Oct 27 07:41:08 2010
@@ -664,8 +664,7 @@ opensocial.DataRequest.prototype.newFetc
* idSpec An IdSpec used to specify which media items to fetch.
* @param {string}
* albumId The id of the album to fetch media items from.
- * @param {Object.
- * <Object, Object>=} opt_params Additional parameters to pass to the
request.
+ * @param {Object.<Object, Object>=} opt_params Additional parameters to pass
to the request.
* @return {Object} A request object
*/
opensocial.DataRequest.prototype.newFetchMediaItemsRequest = function(idSpec,
albumId, opt_params) {
Modified:
shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js
URL:
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js?rev=1027848&r1=1027847&r2=1027848&view=diff
==============================================================================
---
shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js
(original)
+++
shindig/trunk/features/src/main/javascript/features/shindig.container/shindig-container.js
Wed Oct 27 07:41:08 2010
@@ -216,7 +216,7 @@ shindig.IfrGadgetService.prototype.setUs
/**
* Requests the container to send a specific message to the specified users.
- * @param {Array.<String>, String} recipients An ID, array of IDs, or a group
reference;
+ * @param {Array.<String>|String} recipients An ID, array of IDs, or a group
reference;
* the supported keys are VIEWER, OWNER, VIEWER_FRIENDS, OWNER_FRIENDS, or a
* single ID within one of those groups.
* @param {opensocial.Message} message The message to send to the specified
users.