Author: scottbw
Date: Wed Nov  6 13:57:29 2013
New Revision: 1539339

URL: http://svn.apache.org/r1539339
Log:
added note on using the "default" feature

Modified:
    wookie/site/trunk/content/docs/developer/features.mdtext

Modified: wookie/site/trunk/content/docs/developer/features.mdtext
URL: 
http://svn.apache.org/viewvc/wookie/site/trunk/content/docs/developer/features.mdtext?rev=1539339&r1=1539338&r2=1539339&view=diff
==============================================================================
--- wookie/site/trunk/content/docs/developer/features.mdtext (original)
+++ wookie/site/trunk/content/docs/developer/features.mdtext Wed Nov  6 
13:57:29 2013
@@ -88,6 +88,15 @@ If `include.scratchpad.features` is not 
 
 If both properties are commented out in build.properties then only the Google 
Wave Gadget API feature will be installed.
 
+## Adding scripts and styles to all widgets using the "widget" default feature
+
+Wookie adds the default set of scripts and stylesheets to all widgets using a 
feature called "widget" which you can find in /features/widget. 
+
+Usually this is just the implementation of the W3 Widget Interface 
specification, plus some libraries needed for communicating with the server. 
+
+However, you can also use this to customize all the widgets, for example if 
you wanted to add a script for tracking, or to provide a common set of base 
styles, or a common shim for legacy browsers. 
+
+Just add your files to /features/widget and edit /features/widget/feature.xml 
to reference them, just like any other feature.
 
   [1]: http://www.w3.org/TR/widgets/#the-feature-element-and-its-attributes
   [2]: http://svn.apache.org/repos/asf/wookie/trunk/widgets/camera/


Reply via email to