Skip to content

Instantly share code, notes, and snippets.

@christianhent
Last active December 28, 2015 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christianhent/7454937 to your computer and use it in GitHub Desktop.
Save christianhent/7454937 to your computer and use it in GitHub Desktop.
very simple
jqxhr = $.getJSON( "/cache/jevent.json", function() {}).done(function(){
jeventsData = jqxhr.responseJSON;
$.Mustache.load('/tmpl/widgets.htm')
.done(function () {
$('#jevents').mustache('events_widget', jeventsData);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment