jacopotarantino/Lovelace

View on GitHub
lib/client/complete.coffee

Summary

Maintainability
Test Coverage
'use strict'

window.Lovelace.complete = (component, options) ->
  style = window.Lovelace.style(component)
  template = window.Lovelace.component(component, options)
  script = window.Lovelace.script(component)

  return "#{ style }#{ template }#{ script }"