src/joosy/core/helpers/view.coffee in joosy-1.2.0.alpha.14 vs src/joosy/core/helpers/view.coffee in joosy-1.2.0.alpha.15
- old
+ new
@@ -22,17 +22,9 @@
temp.appendChild element
temp.innerHTML
#
- # Converts \n into <br/> in your text
- #
- # @param [String] text Text to convert
- #
- @nl2br = (text) ->
- text.toString().replace /\n/g, '<br/>'
-
- #
# Wraps the inline block into given template
# Request template will receive the inline block as @yield parameter
#
# Example
# -# foo/baz template