[ 
https://issues.jboss.org/browse/RF-12833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767418#comment-12767418
 ] 

Lukáš Fryč commented on RF-12833:
---------------------------------

The real problem is that inside richfaces.js module, there is two sorts of 
referenced to jQuery used: {{$}} and {{jQuery}}.
We need to unify them at the first place.

The reason why I hesitate to use {{$}} is that RichFaces itself defines [{{$}} 
reference internally as 
well|https://github.com/richfaces/richfaces5/blob/master/framework/src/main/resources/META-INF/resources/richfaces.js#L67].
 Even though it's namespace I can see that like a reason why {{jQuery}} 
variable name was used instead of {{$}} originally.
                
> richfaces.js conflicts with prototype.js
> ----------------------------------------
>
>                 Key: RF-12833
>                 URL: https://issues.jboss.org/browse/RF-12833
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 4.3.1
>            Reporter: Mark Torres
>             Fix For: 5-Tracking
>
>         Attachments: RF-12833.patch
>
>
> Getting some javascript errors on richfaces.js.
> Upon inspection, it is using
> (function(jQuery, richfaces) {
> ...
> instead of 
> (function($, richfaces) {
> ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________
richfaces-issues mailing list
richfaces-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to