Sha256: 8c1429ec770e81787860ff7acfe6c7a6e22f3d7d2d2522311126a4b64d26b370

Contents?: true

Size: 261 Bytes

Versions: 5

Compression:

Stored size: 261 Bytes

Contents

module Bullet
  module Presenter
    module JavascriptHelpers
      def self.wrap_js_association( message )
        %{ 
          <script type="text/javascript">/*<![CDATA[*/
          #{message}
          /*]]>*/</script>
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bullet-2.0.0.rc3 lib/bullet/presenter/javascript_helpers.rb
bullet-2.0.0.rc2 lib/bullet/presenter/javascript_helpers.rb
bullet-2.0.0.rc1 lib/bullet/presenter/javascript_helpers.rb
bullet-2.0.0.beta.4 lib/bullet/presenter/javascript_helpers.rb
bullet-2.0.0.beta.3 lib/bullet/presenter/javascript_helpers.rb