Sha256: 6b00c03afa152edefe7c01785998f952d2d071ab0b9fd65c0de276381fd18976

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

#= require joosy/core/joosy

#
# Set of system-wide helpers built-in into Joosy
#
# @class Joosy.Helpers.Application
#
Joosy.helpers 'Application', ->
  
  #
  # Converts \n into <br/> in your text
  #
  # @param [String] text      Text to convert
  #
  @nl2br = (text) ->
    text.toString().replace /\n/g, '<br/>'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
joosy-0.1.0.RC2 app/assets/javascripts/joosy/core/helpers.js.coffee