 `#!/usr/bin/env node
+(function() {
 `
-#require('source-map-support').install()
 unless window?
   path = require 'path'
   fs = require 'fs'

    console.log 'Not enough filename arguments'
    help()

exports =
  Symbol: Symbol
  Drawing: Drawing
module?.exports ?= exports
window?.svgtiler ?= exports

unless window?
  main()

  XMLSerializer = xmldom.XMLSerializer
  prettyXML = require 'prettify-xml'
  graphemeSplitter = new require('grapheme-splitter')()
else
  DOMParser = window.DOMParser # escape CoffeeScript scope
  path =
    extname: (x) -> /\.[^/]+$/.exec(x)[0]
    dirname: (x) -> /[^]*\/|/.exec(x)[0]

SVGNS = 'http://www.w3.org/2000/svg'
XLINKNS = 'http://www.w3.org/1999/xlink'
