Revision: 7778
Author: [email protected]
Date: Wed Mar 24 09:46:37 2010
Log: Edited wiki page through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=7778
Modified:
/wiki/CssResource.wiki
=======================================
--- /wiki/CssResource.wiki Wed Jan 6 07:11:38 2010
+++ /wiki/CssResource.wiki Wed Mar 24 09:46:37 2010
@@ -606,9 +606,14 @@
}
}}}
{{{
-...@external legacySelectorA, legacySelectorB;
+...@external .legacySelectorA, .legacySelectorB;
.obfuscated .legacySelectorA { .... }
.obfuscated .legacySelectorB { .... }
+
+/* @external also accepts tail-globs */
+...@external .myProject-*;
+.myProject-text {}
+.myProject-foo {}
}}}
In the above example, the `.obfuscated` class selector will be obfuscated,
and the `obfuscated()` method will return the replaced name. Neither of the
legacy selectors will be obfuscated and the `legacySelectorA()` method will
return the unobfuscated value. Furthermore, because the `legacySelectorB`
is explicitly defined in the `...@external` declaration, the inaccessible
class name will not trigger an error.
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
To unsubscribe from this group, send email to
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with
the words "REMOVE ME" as the subject.