       drawing: drawing
       filename: filename
     catch err
-      console.error 'svgtiler.renderDOM failed to parse element:', elt
+      console.error 'svgtiler.renderDOM failed to render element:', elt
       console.error err
 
 help = ->

          ## Include new <symbol> in SVG
          unless found?
            tile.setId @id key unless tile.id?  # unrecognizedTile has id
            svg.appendChild tile.makeXML()
            if symbolIds.has tile.id
              console.warn "Multiple symbols with id '#{tile.id}': This shouldn't happen, and SVG likely won't load correctly."
            else

isPreact = (data) ->
  typeof data == 'object' and data?.type? and data.props?
renderPreact = (data) ->
  (window?.preactRenderToString?.default ? require('preact-render-to-string')) \
    data

$static = Symbol 'svgtiler.static'
wrapStatic = (x) -> [$static]: x  # exported as `static` but that's reserved
