     obj[key] = value
   obj
 
+# Use the right CSS classes, so that we can use the
+# syntax highlighting built into atom.
 decorToClasses = (decor) ->
   switch decor
     when ':type' then ['storage', 'type']

  container




module.exports =
  highlight: highlight
  highlightToString: highlightToString

  higlightedWords.filter (higlightedWord) ->
    higlightedWord.word != ''

# Applies the highlighting and returns the result as an html-string.
highlightToString = (highlights) ->
  highlights
    .map ({classes, word}) ->
