           console?.log "no support for: #{line}"
     dataModel
 
-  transposeChord: (chord, amount) ->
+  transposeChord = (chord, amount) ->
     chords = [
       "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B",
       "C", "Db", "D", "Eb", "E", "F", "Gb", "G", "Ab", "A", "Bb", "B"

if jQuery?
  jQuery.fn.extend
    openSongLyrics: (lyrics) ->
      openSong.renderLyrics this, lyrics


Handlebars.registerHelper 'human_header', (abbr) ->

    template = Handlebars.compile templateSrc

    # clear Html Element and add opensong class
    @el.innerHTML = template @model
    @el.className += " opensong" unless /opensong/.test @el.className


  getDomElem = (domElem) ->
    if typeof domElem is 'string'
      return document.getElementById domElem

    if domElem.jquery
      return domElem.get(0)

    if domElem.nodeType
      return domElem

    undefined

  ###

