need to fix rpc.js to support JSMin
-----------------------------------

                 Key: SHINDIG-1692
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1692
             Project: Shindig
          Issue Type: Bug
          Components: Javascript 
    Affects Versions: 3.0.0
            Reporter: li xu
            Priority: Minor
             Fix For: 3.0.0
         Attachments: rpc_patch

This line in rpc.js cause JSMin to generate invalid js 
  var clog = console && console.log && function(msg) { console.log(msg); } || 
function(){};
the problem can be fixed by using following line
  var clog = console && console.log ? function(msg) { console.log(msg); } : 
function(){};

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to