       if not @assSections[layerNum][prefix]?
         @assSections[layerNum][prefix] = []
 
-      @assSections[layerNum][prefix].push ASS_createDrawingFromPoints path.pathPoints
+      Array.prototype.push.apply @assSections[layerNum][prefix], ASS_createDrawingFromPoints path.pathPoints
 
     prefix: (stroke, fill) -> "{\\an7\\pos(0,0)#{stroke}#{fill}\\p1}"
 

        if shapes?
          for prefix, paths of shapes
            fragments.push prefix
            fragments.push.apply fragments, paths
            fragments.push suffix
            fragments.push "\n"
        else if includeEmptyLayers


  alert "Your colorspace needs to be RGB if you want colors." if doc.documentColorSpace == DocumentColorSpace.CMYK



  checkLinear = ( currPoint, prevPoint ) ->
    p1 = (prevPoint.anchor[0] == prevPoint.rightDirection[0] && prevPoint.anchor[1] == prevPoint.rightDirection[1])
    p2 = (currPoint.anchor[0] == currPoint.leftDirection[0] && currPoint.anchor[1] == currPoint.leftDirection[1])
    (p1 && p2)

  zeroPad = ( num ) ->
    if num < 16
