public
Fork of fudgestudios/bort
Description: A base rails app featuring: RESTful Authentication, Will Paginate, Rspec & Rspec-rails, Exception Notifier, Asset Packager, Cap Recipe. Put together by Fudge to remove the need for boring project setup.
Homepage: http://www.fudgestudios.com
Clone URL: git://github.com/UnderpantsGnome/bort.git
add onready and inline script to the layout
Sun Nov 02 10:26:42 -0800 2008
commit  46adf7f7c3f64d777d8106630c173d1f4b76a32c
tree    34fd4540daab7bf5c57ad6af791fe6182d17f898
parent  1103567ffb3ecd6678eba06f3ef7e90b405a640e
...
12
13
14
 
 
 
 
 
15
16
17
...
12
13
14
15
16
17
18
19
20
21
22
0
@@ -12,6 +12,11 @@
0
     %title= @page_title || SiteConfig.site_name
0
     = stylesheet_link_tag 'main'
0
     = javascript_include_tag :defaults
0
+    %script{ :type => 'text/javascript', :charset => 'utf-8' }
0
+      $(document).ready(function() {
0
+      = yield :on_ready
0
+      })
0
+      = yield :inline_script
0
     = blackbird_tags
0
   %body
0
     #container

Comments