[richfaces-issues] [JBoss JIRA] (RF-13147) Rename all occurences JavaScript closures which references to RichFaces object to rf

Juraj Húska (JIRA) issues at jboss.org
Tue Dec 10 11:03:38 EST 2013


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

Juraj Húska commented on RF-13147:
----------------------------------

I am verifying the issue. I have encounter following fact:

some of the *.js files contains closure as described above, but some other contains a very slightly different one:

{code:none}
(function ($, rf) {

    rf.ui = rf.ui || {};

    ....

})(RichFaces.jQuery, window.RichFaces);
{code}

I guess it is only a cosmetic difference. Am I right ? It is by default searched in window object ? If yest I would close this issue.
                
> Rename all occurences JavaScript closures which references to RichFaces object to rf
> ------------------------------------------------------------------------------------
>
>                 Key: RF-13147
>                 URL: https://issues.jboss.org/browse/RF-13147
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: component
>            Reporter: Lukáš Fryč
>            Assignee: Lukáš Fryč
>             Fix For: 4.5.0.Alpha1, 5.0.0.Alpha2
>
>
> It will unify sources and make easier to scan through files:
> {code}
> (function ($, rf) {
>     rf.ui = rf.ui || {};
>     ....
> })(RichFaces.jQuery, RichFaces);
> {code}

--
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



More information about the richfaces-issues mailing list