Fixed typo.
This commit is contained in:
parent
5e3679519a
commit
dcde584833
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
class App.UiElement.select extends App.UiElement.ApplicationUiElement
|
class App.UiElement.select extends App.UiElement.ApplicationUiElement
|
||||||
@render: (attribute, params, form_controller) ->
|
@render: (attribute, params, form_controller) ->
|
||||||
|
|
||||||
# set multible option
|
# set multiple option
|
||||||
if attribute.multiple
|
if attribute.multiple
|
||||||
attribute.multiple = 'multiple'
|
attribute.multiple = 'multiple'
|
||||||
else
|
else
|
||||||
|
|
|
@ -6,7 +6,7 @@ class App.Utils
|
||||||
.replace(/(\r\n|\n\r)/g, "\n") # cleanup
|
.replace(/(\r\n|\n\r)/g, "\n") # cleanup
|
||||||
.replace(/\r/g, "\n") # cleanup
|
.replace(/\r/g, "\n") # cleanup
|
||||||
.replace(/[ ]\n/g, "\n") # remove tailing spaces
|
.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 )
|
# htmlEscapedAndLinkified = App.Utils.text2html( rawText )
|
||||||
@text2html: ( ascii ) ->
|
@text2html: ( ascii ) ->
|
||||||
|
@ -34,7 +34,7 @@ class App.Utils
|
||||||
$('<div>' + html + '</div>').text().trim()
|
$('<div>' + html + '</div>').text().trim()
|
||||||
.replace(/(\r\n|\n\r)/g, "\n") # cleanup
|
.replace(/(\r\n|\n\r)/g, "\n") # cleanup
|
||||||
.replace(/\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 )
|
# htmlEscapedAndLinkified = App.Utils.linkify( rawText )
|
||||||
@linkify: (ascii) ->
|
@linkify: (ascii) ->
|
||||||
|
|
Loading…
Reference in a new issue