 
 
 
-Dropzone.ADDED = "added";
-Dropzone.ACCEPTED = "accepted";
-Dropzone.UPLOADING = "uploading";
-Dropzone.CANCELED = "canceled";
-Dropzone.ERROR = "error";
-Dropzone.SUCCESS = "success";
+# Dropzone file status codes
+Dropzone.ADDED = "added"
+
+# Accepted does not necessarely mean queued.
+Dropzone.ACCEPTED = "accepted"
+
+Dropzone.QUEUED = "queued"
+
+Dropzone.UPLOADING = "uploading"
+Dropzone.PROCESSING = Dropzone.UPLOADING # alias
+
+Dropzone.CANCELED = "canceled"
+Dropzone.ERROR = "error"
+Dropzone.SUCCESS = "success"
 
 
 

    @init()




  init: ->

  # Called internally when processing is finished.
  # Individual callbacks have to be called in the appropriate sections.
  errorProcessing: (file, message, xhr) ->
    file.status = Dropzone.ERROR
    @processQueue()
    @emit "error", file, message, xhr
