projects
/
depot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Froze rails gems
[depot.git]
/
vendor
/
rails
/
actionpack
/
lib
/
action_view
/
template_handlers
/
rjs.rb
1
module
ActionView
2
module
TemplateHandlers
3
class
RJS
<
TemplateHandler
4
include
Compilable
5
6
def
compile
(
template
)
7
"controller.response.content_type ||= Mime::JS;"
+
8
"update_page do |page|;#{template.source}
\n
end"
9
end
10
end
11
end
12
end