Author: lindner
Date: Fri Jun  4 22:21:59 2010
New Revision: 951595

URL: http://svn.apache.org/viewvc?rev=951595&view=rev
Log:
Use correct feature name for gadgets.config, with support for old broken style

Modified:
    shindig/trunk/features/src/main/javascript/features/core.auth/auth.js

Modified: shindig/trunk/features/src/main/javascript/features/core.auth/auth.js
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/core.auth/auth.js?rev=951595&r1=951594&r2=951595&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/core.auth/auth.js 
(original)
+++ shindig/trunk/features/src/main/javascript/features/core.auth/auth.js Fri 
Jun  4 22:21:59 2010
@@ -115,7 +115,7 @@ shindig.Auth = function() {
    * We send the expanded auth token in the body of post requests, so we
    * don't run into problems with length there.  (But people who put
    * several hundred characters in their gadget URLs are still lame.)
-   * @param {string} urlParams
+   * @param {Object} urlParams
    */
   function addParamsToToken(urlParams) {
     var args = authToken.split('&');
@@ -155,7 +155,10 @@ shindig.Auth = function() {
     }
   }
 
+  // old incorrect way
   gadgets.config.register("shindig.auth", null, init);
+  // correct way
+  gadgets.config.register("core.auth", null, init);
 
   return /** @scope shindig.auth */ {
 


Reply via email to