 ###
 
 
-
-
-
-
-
-
-
 marked = require('marked')
 
 marked.setOptions

        end_line = start_line
    return {start_line:start_line, end_line:end_line}


templates.find(".salvus-codemirror-introspect").find("button").click () ->
    templates.find(".salvus-codemirror-introspect").modal('hide')
    element.data('editor').focus()
    element.data('editor',0)

exports.download_file = (url) ->
    iframe = $("<iframe>").addClass('hide').attr('src', url).appendTo($("body"))

        $.getScript "/static/coffeescript/coffee-script.js", (script, status) ->
            console.log("loaded CoffeeScript -- #{status}")
            cb()


# Convert html to text safely using jQuery (see http://api.jquery.com/jquery.parsehtml/)
