Get Programming with JavaScript - Listings 20.05 and 20.06

Listings 20.05 and 20.06 - The fitness app

HTML:

<!-- fitnessApp.User --> <script src="http://output.jsbin.com/fasebo.js"></script> <!-- fitnessApp.userView --> <script src="http://output.jsbin.com/yapahe.js"></script> <!-- fitnessApp.controller --> <script src="http://output.jsbin.com/nudezo.js"></script> <!-- gpwj.data --> <script src="http://output.jsbin.com/guzula.json"></script>

JS:

var app = fitnessApp.init("qiwizo");