-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/6947/
-----------------------------------------------------------
Review request for shindig, Henry Saputra, Ryan Baxter, Matt Franklin, and
Stanton Sievers.
Description
-------
I was running into some really weird feature dependency issues when trying to
resolve an issues with setTimeout and optionally supporting the common
container mixins with the new oauthpopup code.
I realize we'll probably clean the oauthpopup code to only work with the
commoncontainer in future releases, but for this release I didn't want to pull
down the common container code just for this to work.
I moved the mixin functionality out to a new feature `container.mixin`. All
of the old container apis point to this new feature, I didn't remove them so
people should not have to change any code if they use those apis.
The issue was that none of the commoncontainer code was there when I was trying
to add the mixin, even if it was requested (because CC depends on oauthpopup,
not the other way around) so I tried using a settimeout, but that causes
intermittent odd behavior depending on when js execution is given up between
eval of the script and construction of the container object.
Anyway, this seems to work well.
This addresses bug SHINDIG-1864.
https://issues.apache.org/jira/browse/SHINDIG-1864
Diffs
-----
http://svn.apache.org/repos/asf/shindig/trunk/features/pom.xml 1380656
http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/container.mixin/feature.xml
PRE-CREATION
http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/container.mixin/mixin.js
PRE-CREATION
http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/container.util/constant.js
1380656
http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/container/container.js
1380656
http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/container/feature.xml
1380656
http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/features.txt
1380656
http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/oauthpopup/container_oauthpopup.js
1381205
http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/oauthpopup/feature.xml
1380656
http://svn.apache.org/repos/asf/shindig/trunk/features/src/test/javascript/features/container/container_test.js
1380656
Diff: https://reviews.apache.org/r/6947/diff/
Testing
-------
Removed a test that is no longer applicable.
Thanks,
Dan Dumont