   jQuery.fn.dropzone = (options) ->
     this.each -> new Dropzone this, options
 
-  jQuery -> jQuery(".dropzone").dropzone()
-
-
 
 
 


    throw new Error "Dropzone already attached." if Dropzone.forElement @element

    

    # If the browser failed, just call the fallback and leave
    return @options.fallback.call this unless Dropzone.isBrowserSupported()


    # Get the `Dropzone.options.elementId` for this element if it exists
    elementId = @element.id

      target

    @options = extend { }, @defaultOptions, elementOptions, options ? { }


    @options.url = @element.action unless @options.url?

    throw new Error "No URL provided." unless @options.url

    # If the browser failed, just call the fallback and leave
    return @options.fallback.call this unless Dropzone.isBrowserSupported()


    @previewsContainer = if @options.previewsContainer then createElement(@options.previewsContainer) else @element

