Skip to content

Instantly share code, notes, and snippets.

@micahalles
Created July 11, 2011 03:04
Show Gist options
  • Save micahalles/1075258 to your computer and use it in GitHub Desktop.
Save micahalles/1075258 to your computer and use it in GitHub Desktop.
Classes
$("#my-template").expand({
name: "Cooking with Crowley",
content: "Step 1, light the grill. Step 2..."
})
<div>
<h2 class="name">Cooking with Crowley</h2>
<p class="content">Step 1, light the grill. Step 2...</p>
</div>
<div id="my-template">
<h2 class="name"></h2>
<p class="content"></p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment