[
https://issues.jboss.org/browse/RF-13147?page=com.atlassian.jira.plugin.s...
]
Juraj Húska edited comment on RF-13147 at 12/10/13 11:04 AM:
-------------------------------------------------------------
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 yes, I would close this issue.
was (Author: jhuska):
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