Friday, September 10, 2010

Re: How to use an obfuscated css selector in a css file in a depending project

On Sep 9, 11:44 pm, Steve Armstrong <steve.armstr...@gmail.com> wrote:
> I've asked this on Stack Overflow, but noone seems to know:http://stackoverflow.com/questions/3612146/use-obfusticated-css-name-...
>
> I've got a library with some CSS, and a depending project that expands
> on the CSS. I'm trying to move both of them to ClientBundle.
>
> Currently, library.css is:
> .smallWindow { min-width: 10px; outline: none; }
>
> And depProject.css is:
> .sectionA .smallWindow { color: blue; }
>
> I moved library.css and depProject.css into ClientBundles
> (LibraryBundle and DepProjectBundle) in their respective projects, but
> had to mark smallWindow as external in both. Is there a way to link
> smallWindow in depProject.css to smallWindow in library.css and still
> have smallWindow be obfusticated?
>
> I'm hoping that instead of marking @external .smallWindow I could
> leave it alone in library.css, and put something like
> @replaceWithObfusticated smallWindow DepProjectBundle.css.smallWindow
> at the top of depProject.css

If I'm understanding correctly, it should be possible using @Shared
scopes, but I honestly don't know how it actually works:
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#Shared_scopes

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment