public
Rubygem
Description: Johnson wraps JavaScript in a loving Ruby embrace.
Homepage: http://github.com/jbarnette/johnson/wikis
Clone URL: git://github.com/jbarnette/johnson.git
Search Repo:
switching to runtime.  we should test this somehow....
aaronp (author)
Sat May 31 23:06:14 -0700 2008
commit  a83f26788f4d7498139bbce7da13db27b3e0d22a
tree    b511e64df398b6557e1f6a1ec5b98879b61d193a
parent  dc9c9cb4769a1acb15be6c089dd324e24fa75584
...
24
25
26
27
 
28
29
30
...
24
25
26
 
27
28
29
30
0
@@ -24,7 +24,7 @@ class EJSHandler < ActionView::TemplateHandler
0
   end
0
 
0
   def render(template)
0
- ctx = Johnson::Context.new
0
+ ctx = Johnson::Runtime.new
0
     ctx.evaluate('Johnson.require("johnson/template");')
0
     ctx['template'] = template.source
0
     ctx['controller'] = @view.controller

Comments

    No one has commented yet.