houston/houston-core

View on GitHub
app/assets/javascripts/houston/core/uploader_helpers.coffee

Summary

Maintainability
Test Coverage

Line exceeds maximum allowed length
Open

      textarea.value = textarea.value.substring(0, startPos) + text + textarea.value.substring(endPos, textarea.value.length)

Line exceeds maximum allowed length
Open

        Attach files or images by dragging &amp; dropping them or <a class="dz-selector">selecting them</a>.

Line exceeds maximum allowed length
Open

        # Double the length because Opera is inconsistent about whether a carriage return is one character or two. Sigh.

Line exceeds maximum allowed length
Open

          async: false, # because we need this response before dropzone can continue

Line exceeds maximum allowed length
Open

        $el.find('.upload-progress').html "Uploading #{file.name} (#{progress.toFixed(0)}% complete)"

Line exceeds maximum allowed length
Open

            link_markdown = "!#{link_markdown}" unless _.contains(["application/pdf", "application/zip"], file.type)

There are no issues that match your filters.

Category
Status