Skip to content

Instantly share code, notes, and snippets.

@asavin
Created February 28, 2014 11:43
Show Gist options
  • Select an option

  • Save asavin/9269688 to your computer and use it in GitHub Desktop.

Select an option

Save asavin/9269688 to your computer and use it in GitHub Desktop.
var template, dom;
template = require('./my-template');
dom = require('dom');
module.exports = function(target, data){
var d;
d = dom(target);
return d.append(template({
data: data
}));
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment