example/scrumptious/public/js/main.js
function displayMealList() {
  // Meal list
  logResponse("[displayMealList] displaying meal list.");
	var tmpl = $("#meal_list_tmpl").html();
	var output = Mustache.to_html(tmpl, meals);
	$("#meal-list").html(output).listview('refresh');
}
function displayMealList() {
  // Meal list
  logResponse("[displayMealList] displaying meal list.");
	var tmpl = $("#meal_list_tmpl").html();
	var output = Mustache.to_html(tmpl, meals);
	$("#meal-list").html(output).listview('refresh');
}
function displayMealList ( ) { // Meal list logResponse ( "[displayMealList] displaying meal list." ) ; var tmpl = $ ( "#meal_list_tmpl" ) . html ( ) ; var output = Mustache . to_html ( tmpl , meals ) ; $ ( "#meal-list" ) . html ( output ) . listview ( 'refresh' ) ; }
DATA FETCH AND DISPLAY Meals
DATA FETCH AND DISPLAY Meals