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

Issue 1704047: Adding StyleTagProxyImportRewriter (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 9 months ago by gagan.goku
Modified:
15 years, 9 months ago
Reviewers:
johnfargo, zhoresh, shindig.remailer, dev-remailer, vikaas.arora
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/java/gadgets/src
Visibility:
Public.

Description

StyleTagProxyImportRewriter: Rewriter that replaces @import urls and background urls in <style> ... </style> with their proxied versions.

Patch Set 1 #

Patch Set 2 : with licence #

Patch Set 3 : better tests #

Patch Set 4 : better name of class. #

Total comments: 1

Patch Set 5 : new #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -20 lines) Patch
main/java/org/apache/shindig/gadgets/rewrite/StyleTagExtractorVisitor.java View 2 chunks +12 lines, -20 lines 2 comments Download
main/java/org/apache/shindig/gadgets/rewrite/StyleTagProxyEmbeddedUrlsRewriter.java View 4 1 chunk +54 lines, -0 lines 0 comments Download
main/java/org/apache/shindig/gadgets/rewrite/StyleTagProxyEmbeddedUrlsVisitor.java View 4 1 chunk +69 lines, -0 lines 0 comments Download
test/java/org/apache/shindig/gadgets/rewrite/StyleTagProxyEmbeddedUrlsVisitorTest.java View 4 1 chunk +101 lines, -0 lines 0 comments Download

Messages

Total messages: 9
gagan.goku
15 years, 9 months ago (2010-07-07 20:36:47 UTC) #1
gagan.goku
with licence
15 years, 9 months ago (2010-07-07 20:38:48 UTC) #2
gagan.goku
better tests
15 years, 9 months ago (2010-07-07 22:52:52 UTC) #3
gagan.goku
better name of class.
15 years, 9 months ago (2010-07-07 23:02:03 UTC) #4
vikaas.arora
Very high level comment and suggestion if we can refactor the existing Visitor 'StyleTagExtractorVisitor' to ...
15 years, 9 months ago (2010-07-08 04:57:54 UTC) #5
gagan.goku
On 2010/07/08 04:57:54, vikaas.arora wrote: > Very high level comment and suggestion if we can ...
15 years, 9 months ago (2010-07-08 19:23:44 UTC) #6
gagan.goku
new
15 years, 9 months ago (2010-07-08 19:26:51 UTC) #7
johnfargo
Only one comment -- I already took care of it and committed. http://codereview.appspot.com/1704047/diff/22001/23001 File main/java/org/apache/shindig/gadgets/rewrite/StyleTagExtractorVisitor.java ...
15 years, 9 months ago (2010-07-08 22:32:11 UTC) #8
gagan.goku
15 years, 9 months ago (2010-07-09 10:08:39 UTC) #9
Thanks John.

http://codereview.appspot.com/1704047/diff/22001/23001
File main/java/org/apache/shindig/gadgets/rewrite/StyleTagExtractorVisitor.java
(right):

http://codereview.appspot.com/1704047/diff/22001/23001#newcode48
main/java/org/apache/shindig/gadgets/rewrite/StyleTagExtractorVisitor.java:48:
return super.visit(gadget, node);
On 2010/07/08 22:32:11, johnfargo wrote:
> I appreciate the insistence on not duplicating code, but in this case we're
> trading 3 lines for extension of another class -- I'd just revert this file.

okay :)
Sign in to reply to this message.

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