   @content: ->
     @div class: 'show-todo-preview native-key-bindings', tabindex: -1
 
-
   initialize: (serializeState) ->
     # atom.workspaceView.command "show-todo:toggle", => @toggle()
     # Add the view click handler that goes to the marker (todo, fixme, whatnot)


  # currently broken. FIXME: Remove or replace
  resolveJSPaths: (html) =>
    # console.log('INISDE RESOLVE')
    html = $(html)


    # scrList = html.find("#mainScript")
    scrList = [html[5]]

    # console.log('html', html)
    # console.log('hi')
    # console.log('srcList', scrList)

    for scrElement in scrList
      js = $(scrElement)
      src = js.attr('src')
      # continue if src.match /^(https?:\/\/)/
      js.attr('src', path.resolve(path.dirname(@getPath()), src))
      # console.log 'js', js
    html

  showLoading: ->
    @html $$$ ->
      @div class: 'markdown-spinner', 'Loading Todos...'




  #get the regexes to look for from the settings
  # @FIXME: Add proper comments
  # @param settingsRegexes {array} - An array of regexes from settings.
  buildRegexLookups: (settingsRegexes) ->

      if ( fs.isFileSync(templ_path) )
        template = fs.readFileSync(templ_path, {encoding: "utf8"})

      # FIXME: Add better error handling if the template fails to load
      compiled = dust.compile(template, "todo-template")

      # is this step necessary? Appears to be...
      dust.loadSource(compiled)

      # content & filters
      context = {
        # make the path to the result relative
        "filterPath": (chunk, context, bodies) =>
          return chunk.tap((data) =>

