         uploaderId = $uploader.attr('id')
 
         getUrl = ->
-          # "Живой" префикс
           prefix = settings.prefix ? $uploader.data('prefix')
           throw new Error("prefix isn't defined") unless prefix
 

      inserter = factory.createInserter()
      @each -> inserter.insert $(@) if inserter?

  $.fn.nmdUploader = (method) ->
    if methods[method] then methods[method].apply @, Array::slice.call(arguments, 1)
    else if typeof method is "object" or not method then methods.init.apply @, arguments

        if settings.open ? $uploader.data('open')
          openUploader()
        else
          $uploader.find(settings.openSelector).on 'click.uploader', (e) ->
            e.preventDefault()
            e.stopPropagation()
            openUploader()
