lib/remotipart/view_helper.rb in remotipart-1.4.2 vs lib/remotipart/view_helper.rb in remotipart-1.4.3
- old
+ new
@@ -1,16 +1,7 @@
module Remotipart
module ViewHelper
- def escape_javascript(javascript)
- if remotipart_submitted?
- super("#{javascript}")
- else
- super
- end
- end
- alias_method :j, :escape_javascript
-
#No longer used
#Retrained to prevent issues while updating
def remotipart_response(options = {}, &block)
with_output_buffer(&block)
end