<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -140,6 +140,14 @@ To add custom CSS to Control Center, simply use the custom_css config property i
 
 Would create two links in Control Center, one to a stylesheet named custom_css_1 with a media attribute of all, and one to custom_css_2 with a media attribute of print.
 
+Custom JavaScript
+-----------------
+Add custom JavaScript to the Control Center interface by using the include_javascript property in the initializer. The value you set to include_javascript gets passed to the Rails javascript_include_tag helper.
+
+    ControlCenter::Config.include_javascript = [ :defaults ]
+    
+This would cause the Rails default javascripts (Prototype, Scriptaculous, and application.js) to be inluded with Control Center. The scripts are included at the bottom of the body of your page, as per the YSlow guidelines.
+
 Where are the tests?
 --------------------
 I'm usually very good about testing my code, but I wasn't sure of the best way to test something that was so interface intensive, so tests simply aren't present for the 1.0 release. Tests are one of my biggest goals for the 1.1 release.</diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -11,4 +11,4 @@ ControlCenter::Config.theme_color = &quot;#0033CC&quot;
 # }
 
 # Custom JavaScript Includes
-#ControlCenter::Config.include_javascript = %w(:defaults)
\ No newline at end of file
+#ControlCenter::Config.include_javascript = [:defaults]
\ No newline at end of file</diff>
      <filename>generators/control_center/templates/control_center.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fec2dd42b19ed6837de8f4f134b15b2a8f7e4d27</id>
    </parent>
  </parents>
  <author>
    <name>Alan Johnson</name>
    <email>alan@gnoso.com</email>
  </author>
  <url>http://github.com/commondream/control_center/commit/5e753ff24f977c55aa6fd9f39b36f76687b21ad7</url>
  <id>5e753ff24f977c55aa6fd9f39b36f76687b21ad7</id>
  <committed-date>2009-05-16T12:15:08-07:00</committed-date>
  <authored-date>2009-05-16T12:15:08-07:00</authored-date>
  <message>Documented custom javascript.</message>
  <tree>6f0ffb45d5c0fcae732010435798a54529397dac</tree>
  <committer>
    <name>Alan Johnson</name>
    <email>alan@gnoso.com</email>
  </committer>
</commit>
