Skip to content

Instantly share code, notes, and snippets.

@kouphax
Created October 16, 2010 14:32
Show Gist options
  • Save kouphax/629841 to your computer and use it in GitHub Desktop.
Save kouphax/629841 to your computer and use it in GitHub Desktop.
// clone the data model
var item = $.extend({}, model)
$.tmpl("<li>${task}</li>", item).appendTo(list);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment