Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(185)

Issue 59046: OST Client: Library loading and other fixes

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 9 months ago by levik
Modified:
11 years, 1 month ago
Reviewers:
shindig-remailer, etnu00
Base URL:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/
Visibility:
Public.

Description

- Bugs fixed in data context handling - Support for required library declaration via "requireLibrary" param - Template processing deferred until required libraries are loaded - Correct timing of feature param processing - Minor Loader refactoring in preparation for library injection - Namespace declarations on template container tags honored JIRA issue: https://issues.apache.org/jira/browse/SHINDIG-1046

Patch Set 1 #

Total comments: 11

Patch Set 2 : fixes based on Kevin's feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -58 lines) Patch
M features/src/main/javascript/features/opensocial-data-context/datacontext.js View 1 1 chunk +7 lines, -1 line 0 comments Download
M features/src/main/javascript/features/opensocial-data/data.js View 1 chunk +1 line, -1 line 0 comments Download
M features/src/main/javascript/features/opensocial-templates/base.js View 1 3 chunks +13 lines, -4 lines 0 comments Download
M features/src/main/javascript/features/opensocial-templates/container.js View 7 chunks +89 lines, -34 lines 0 comments Download
M features/src/main/javascript/features/opensocial-templates/loader.js View 3 chunks +4 lines, -5 lines 0 comments Download
M features/src/main/javascript/features/xmlutil/xmlutil.js View 1 2 chunks +46 lines, -13 lines 0 comments Download

Messages

Total messages: 3
etnu00
http://codereview.appspot.com/59046/diff/1/5 File features/src/main/javascript/features/opensocial-data-context/datacontext.js (right): http://codereview.appspot.com/59046/diff/1/5#newcode167 Line 167: for (key in dataSets) { "key" here creates ...
16 years, 9 months ago (2009-05-05 22:21:01 UTC) #1
levik
http://codereview.appspot.com/59046/diff/1/5 File features/src/main/javascript/features/opensocial-data-context/datacontext.js (right): http://codereview.appspot.com/59046/diff/1/5#newcode167 Line 167: for (key in dataSets) { On 2009/05/05 22:21:02, ...
16 years, 9 months ago (2009-05-05 23:30:47 UTC) #2
etnu00
16 years, 9 months ago (2009-05-06 02:20:14 UTC) #3
looks good.

http://codereview.appspot.com/59046/diff/1/6
File features/src/main/javascript/features/xmlutil/xmlutil.js (right):

http://codereview.appspot.com/59046/diff/1/6#newcode115
Line 115: namespaces[name.substring(6, name.length)] = el.getAttribute(name);
On 2009/05/05 23:30:47, levik wrote:
> On 2009/05/05 22:21:02, etnu00 wrote:
> > You should probably not be calling substring twice in a loop like this.
> 
> I'm using different portions of the string. Is there a better way? I don't
think
> performance is an issue here, because there will generally be very few NS
> declarations on these tags. (usually 1, 2-3 max)

Sorry, I misread that.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b