app/assets/javascripts/houston/core/uploader_helpers.coffee
Line exceeds maximum allowed length Open
Open
textarea.value = textarea.value.substring(0, startPos) + text + textarea.value.substring(endPos, textarea.value.length)
- Exclude checks
Line exceeds maximum allowed length Open
Open
Attach files or images by dragging & dropping them or <a class="dz-selector">selecting them</a>.
- Exclude checks
Line exceeds maximum allowed length Open
Open
# Double the length because Opera is inconsistent about whether a carriage return is one character or two. Sigh.
- Exclude checks
Line exceeds maximum allowed length Open
Open
async: false, # because we need this response before dropzone can continue
- Exclude checks
Line exceeds maximum allowed length Open
Open
$el.find('.upload-progress').html "Uploading #{file.name} (#{progress.toFixed(0)}% complete)"
- Exclude checks
Line exceeds maximum allowed length Open
Open
link_markdown = "!#{link_markdown}" unless _.contains(["application/pdf", "application/zip"], file.type)
- Exclude checks