You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Stanton Sievers (JIRA)" <ji...@apache.org> on 2011/05/09 14:20:03 UTC

[jira] [Created] (SHINDIG-1533) Common Container doesn't properly initialize globals when dynamically loaded

Common Container doesn't properly initialize globals when dynamically loaded
----------------------------------------------------------------------------

                 Key: SHINDIG-1533
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1533
             Project: Shindig
          Issue Type: Bug
          Components: Javascript 
    Affects Versions: 3.0.0
            Reporter: Stanton Sievers
             Fix For: 3.0.0


The container feature's init.js#initializeGlobalVars() function fails to properly initialize the global variables when the container.js is being dynamically loaded into a page.

The code as it exists today assumes that the <script> tag loading the container.js will be the last one encountered for the document.  This is not always the case, especially when loading the container.js by dynamically inserting the <script> tag in the page.

Code changes and more information: http://codereview.appspot.com/4439090/

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (SHINDIG-1533) Common Container doesn't properly initialize globals when dynamically loaded

Posted by "Stanton Sievers (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stanton Sievers resolved SHINDIG-1533.
--------------------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?view=revision&revision=1103960

> Common Container doesn't properly initialize globals when dynamically loaded
> ----------------------------------------------------------------------------
>
>                 Key: SHINDIG-1533
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1533
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>    Affects Versions: 3.0.0
>            Reporter: Stanton Sievers
>              Labels: container
>             Fix For: 3.0.0
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> The container feature's init.js#initializeGlobalVars() function fails to properly initialize the global variables when the container.js is being dynamically loaded into a page.
> The code as it exists today assumes that the <script> tag loading the container.js will be the last one encountered for the document.  This is not always the case, especially when loading the container.js by dynamically inserting the <script> tag in the page.
> Code changes and more information: http://codereview.appspot.com/4439090/

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (SHINDIG-1533) Common Container doesn't properly initialize globals when dynamically loaded

Posted by "Paul Lindner (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lindner closed SHINDIG-1533.
---------------------------------


part of 2.5.0-beta1 release.

                
> Common Container doesn't properly initialize globals when dynamically loaded
> ----------------------------------------------------------------------------
>
>                 Key: SHINDIG-1533
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1533
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>    Affects Versions: 2.5.0-beta1
>            Reporter: Stanton Sievers
>              Labels: container
>             Fix For: 2.5.0-beta1
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> The container feature's init.js#initializeGlobalVars() function fails to properly initialize the global variables when the container.js is being dynamically loaded into a page.
> The code as it exists today assumes that the <script> tag loading the container.js will be the last one encountered for the document.  This is not always the case, especially when loading the container.js by dynamically inserting the <script> tag in the page.
> Code changes and more information: http://codereview.appspot.com/4439090/

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