Skip to content

Instantly share code, notes, and snippets.

ck = require 'coffeekup'
template = ->
doctype 5
html ->
head ->
title 'title'
body ->
render @user_panel, user: @user
@mauricemach
mauricemach / nested.coffee
Created October 25, 2010 00:37
User-defined nested rendering, synchronous
ck = require 'coffeekup'
tpl = ->
html ->
head ->
title 'title'
body ->
render 'index.coffee'
render = (file) ->