Change osapi._registerMethods to 'last one in wins'
---------------------------------------------------

                 Key: SHINDIG-1569
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1569
             Project: Shindig
          Issue Type: Bug
          Components: Javascript 
            Reporter: Dan Dumont
            Priority: Minor


While debugging using a container cross-site from where shindig is hosted, I 
ran into trouble using:
  config[osapi.container.ServiceConfig.API_PATH] = '/rpc';
  config[osapi.container.ServiceConfig.API_HOST] = // A url to a proxy on the 
host server that points to the shindig server.

I found that the osapi.container.Service.prototype.registerOsapiServices 
function was defining methods that never ended up sticking, because other 
methods would beat it to the punch.
This resulted in the above settings never taking hold.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to