You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Yusaku Sako (JIRA)" <ji...@apache.org> on 2012/07/10 21:56:35 UTC

[jira] [Commented] (AMBARI-620) Put common Javascript utility functions into appropriate namespace/packages

    [ https://issues.apache.org/jira/browse/AMBARI-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410750#comment-13410750 ] 

Yusaku Sako commented on AMBARI-620:
------------------------------------

Also, externalize certain properties that are repeated all over the code and manage it in a central location (e.g., example, default AJAX timeout, AJAX failure messages, etc).
                
> Put common Javascript utility functions into appropriate namespace/packages
> ---------------------------------------------------------------------------
>
>                 Key: AMBARI-620
>                 URL: https://issues.apache.org/jira/browse/AMBARI-620
>             Project: Ambari
>          Issue Type: Improvement
>            Reporter: Yusaku Sako
>            Assignee: Yusaku Sako
>
> Currently utility functions that are used across different Javascript files are defined in the global scope.  Also, some currently global variables should be private to certain modules and not leaked out to the global scope.
> Put them in appropriate namespace/packages for better organization, clarify, and conflict prevention.

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