Use double quotes in CoffeeScript files

As we do in the rest of the application.

Note we cannot add a rule enforcing double quotes because CoffeeScript
Lint does not have such rule.
This commit is contained in:
Javi Martín
2019-03-04 15:32:41 +01:00
parent 9e80c75032
commit b27855c1cf
44 changed files with 360 additions and 360 deletions

View File

@@ -2,18 +2,18 @@ _t = (key) -> new Gettext().gettext(key)
App.Annotatable =
initialize: ->
current_user_id = $('html').data('current-user-id')
current_user_id = $("html").data("current-user-id")
if current_user_id == ""
annotator.ui.editor.Editor.template = [
'<div class="annotator-outer annotator-editor annotator-hide">',
' <form class="annotator-widget">',
" #{_t('Unregistered')}",
" #{_t("Unregistered")}",
' <div class="annotator-controls">',
" <a href='#cancel' class='annotator-cancel'>#{_t('Cancel')}</a>",
' </div>',
' </form>',
'</div>'
].join('\n')
" <a href='#cancel' class='annotator-cancel'>#{_t("Cancel")}</a>",
" </div>",
" </form>",
"</div>"
].join("\n")
$("[data-annotatable-type]").each ->
$this = $(this)