 
         ).appendTo(@element)
 
-    renderCorpusContent: (type, wordData, sentenceData, corpus_attrs, tokens) ->
+    renderCorpusContent: (type, wordData, sentenceData, corpus_attrs, tokens, customAttrs, customData) ->
         if type == "struct"
             pairs = _.pairs(sentenceData)
 

                    pairs.push([key, val])

        pairs = _.filter pairs, ([key, val]) -> corpus_attrs[key]

        pairs.sort ([a], [b]) ->
            ord1 = corpus_attrs[a].order
            ord2 = corpus_attrs[b].order
            # first three cases to handle ord1 or ord2 being undefined
            if ord1 == ord2
                return 0


Sidebar =
    _init: () ->

