You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "li xu (Created) (JIRA)" <ji...@apache.org> on 2012/01/30 19:28:11 UTC
[jira] [Created] (SHINDIG-1692) need to fix rpc.js to support JSMin
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
[jira] [Updated] (SHINDIG-1692) need to fix rpc.js to support JSMin
Posted by "li xu (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
li xu updated SHINDIG-1692:
---------------------------
Attachment: rpc_patch
> 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
[jira] [Closed] (SHINDIG-1692) need to fix rpc.js to support JSMin
Posted by "li xu (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
li xu closed SHINDIG-1692.
--------------------------
> 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
[jira] [Resolved] (SHINDIG-1692) need to fix rpc.js to support
JSMin
Posted by "li xu (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
li xu resolved SHINDIG-1692.
----------------------------
Resolution: Fixed
Thanks for commenting. It's committed with revision 1237919. Thanks!
> 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
[jira] [Commented] (SHINDIG-1692) need to fix rpc.js to support
JSMin
Posted by "Henry Saputra (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196279#comment-13196279 ]
Henry Saputra commented on SHINDIG-1692:
----------------------------------------
+1
> 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