 # -----------------------------------------------------
 
 isWorker = (self.document == undefined)
-webWorkerAttrs = ['normals', 'vertices', 'indices', 'nOfTriangles', 'chunks']
+workerReturnedKeys = ['normals', 'vertices', 'indices', 'nOfTriangles', 'blob']
 if !isWorker
   webWorkerFn = arguments.callee
   # Getting a blob url reference to this script's closure

    @[attr] = exp[attr] for attr in ['vertices', 'normals']
    @verts = @vertices

  #_parseTextAMF: (text) ->
  # TODO: inflate the zip file here
  # new Blob([arrayBuffer], "application/zip")

  _parseTextAmf: (text) ->
    xml = parseXml text
    root = xml.documentElement

    for i in [0..2]
      if f.normals[i][0] == 0 and f.normals[i][1] == 0 and f.normals[i][2] == 0
        f.normals[i][j] = vN[j] for j in [0..2]
