Sha256: 5f2875be23a18b38185129f8e29f0d372062db4948e118a0672b8017ff6522eb

Contents?: true

Size: 168 Bytes

Versions: 12

Compression:

Stored size: 168 Bytes

Contents

module ActionView
  module Helpers
    module JavaScriptHelper
      def escape_javascript(s)
        EscapeUtils.escape_javascript(s.to_s)
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
escape_utils-1.3.0 lib/escape_utils/javascript/action_view.rb
escape_utils-1.2.2 lib/escape_utils/javascript/action_view.rb
escape_utils-1.1.1 lib/escape_utils/javascript/action_view.rb
escape_utils-1.2.1 lib/escape_utils/javascript/action_view.rb
escape_utils-1.2.0 lib/escape_utils/javascript/action_view.rb
escape_utils-1.1.0 lib/escape_utils/javascript/action_view.rb
escape_utils-1.0.1 lib/escape_utils/javascript/action_view.rb
escape_utils-1.0.0 lib/escape_utils/javascript/action_view.rb
escape_utils-0.3.2 lib/escape_utils/javascript/action_view.rb
escape_utils-0.3.1 lib/escape_utils/javascript/action_view.rb
escape_utils-0.3.0 lib/escape_utils/javascript/action_view.rb
escape_utils-0.2.4 lib/escape_utils/javascript/action_view.rb