You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2009/08/03 08:41:04 UTC

svn commit: r800212 - /incubator/shindig/trunk/javascript/container/gadgets.js

Author: lindner
Date: Mon Aug  3 06:41:04 2009
New Revision: 800212

URL: http://svn.apache.org/viewvc?rev=800212&view=rev
Log:
SHINDIG-1126 | Fix from Benjamin McCann | Doc errors and console.log fixes

Modified:
    incubator/shindig/trunk/javascript/container/gadgets.js

Modified: incubator/shindig/trunk/javascript/container/gadgets.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/javascript/container/gadgets.js?rev=800212&r1=800211&r2=800212&view=diff
==============================================================================
--- incubator/shindig/trunk/javascript/container/gadgets.js (original)
+++ incubator/shindig/trunk/javascript/container/gadgets.js Mon Aug  3 06:41:04 2009
@@ -27,8 +27,8 @@
 gadgets.error.TO_BE_DONE = 'to be done';
 
 gadgets.log = function(message) {
-  if (window.console && console.log) {
-    console.log(message);
+  if (window.console && window.console.log) {
+    window.console.log(message);
   } else {
     var logEntry = document.createElement('div');
     logEntry.className = 'gadgets-log-entry';
@@ -226,7 +226,7 @@
 
 /**
  * Requests the container to send a specific message to the specified users.
- * @param {Array.<String>, String} 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