Fixed typo.

This commit is contained in:
Martin Edenhofer 2015-09-14 19:12:05 +02:00
parent 5e3679519a
commit dcde584833
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
class App.UiElement.select extends App.UiElement.ApplicationUiElement
@render: (attribute, params, form_controller) ->
# set multible option
# set multiple option
if attribute.multiple
attribute.multiple = 'multiple'
else

View file

@ -6,7 +6,7 @@ class App.Utils
.replace(/(\r\n|\n\r)/g, "\n") # cleanup
.replace(/\r/g, "\n") # cleanup
.replace(/[ ]\n/g, "\n") # remove tailing spaces
.replace(/\n{3,20}/g, "\n\n") # remove multible empty lines
.replace(/\n{3,20}/g, "\n\n") # remove multiple empty lines
# htmlEscapedAndLinkified = App.Utils.text2html( rawText )
@text2html: ( ascii ) ->
@ -34,7 +34,7 @@ class App.Utils
$('<div>' + html + '</div>').text().trim()
.replace(/(\r\n|\n\r)/g, "\n") # cleanup
.replace(/\r/g, "\n") # cleanup
.replace(/\n{3,20}/g, "\n\n") # remove multible empty lines
.replace(/\n{3,20}/g, "\n\n") # remove multiple empty lines
# htmlEscapedAndLinkified = App.Utils.linkify( rawText )
@linkify: (ascii) ->