         .style("stroke-width", 0.5)
 
 
-if typeof require is 'function' and typeof module is 'object' and typeof exports is 'object'
-  module.exports = Spectra
-else
-  window.Ubret['Spectra'] = Spectra@opts.selector.append('svg')+window.Ubret.Spectra = Spectra
      @selectIds [@opts.data.first.uid]
    subjects = _(@opts.data).filter (d) => 
      d.uid in @opts.selectedIds
    @loadSpectralLines(subjects[0])

  loadSpectralLines: (subject) =>
    request = new XMLHttpRequest()

class Spectra extends Ubret.BaseTool

  name: "Spectra"
  
