     for item in items
       if item.webkitGetAsEntry? and entry = item.webkitGetAsEntry()
         if entry.isFile
-          @addFile item.getAsFile()
+          @_addFile item.getAsFile()
         else if entry.isDirectory
           # Append all files from that directory to files
           @_addFilesFromDirectory entry, entry.name
       else if item.getAsFile?
         if !item.kind? or item.kind == "file"
-          @addFile item.getAsFile()
+          @_addFile item.getAsFile()
 
   # Goes through the directory, and adds each file it finds recursively
   _addFilesFromDirectory: (directory, path) ->

  ratio = (py / ih)

  if (ratio is 0) then 1 else ratio

# A replacement for context.drawImage
# (args are for source and destination).
drawImageIOSFix = (ctx, img, sx, sy, sw, sh, dx, dy, dw, dh) ->
  vertSquashRatio = detectVerticalSquash img
  ctx.drawImage img, sx, sy, sw, sh, dx, dy, dw, dh / vertSquashRatio

###
# contentloaded.js

        # The browser supports dropping of folders, so handle items instead of files
        @_addFilesFromItems items
      else
        @_addFile file for file in files
    return

  paste: (e) ->
