 )
 
 
-prom = (x, i, a) ->
-  view = new vega.View(vega.parse(x))
-  prom_ = view.toImageURL('svg')
-
-
 add_src = (x) ->
   new vega.View(vega.parse(x.datum()))
     .toImageURL("svg")

results_table(DATA)
add_card(add_image, "image", "#logo_image")(DATA)
add_card(add_youtube, "youtube", "#youtube")(DATA)
card_images(DATA)
card_charts(DATA)

    a function to build the card
  ###
  sequence(
    card_bind(type, tag, take_func=take_func),
    with_div,
    build_card(addf)
  )


update_data = (x) ->
