Commit 2966b52b3c67773b1c81dc1d8030c6864947ae46

Fix title is undefined

  If title was not entered in the JSON, it would come up as undefined in
the page.
  • Diff rendering mode:
  • inline
  • side by side

index.html

32 //Code to initialize the framework32 //Code to initialize the framework
33 window.M = window.M || {};33 window.M = window.M || {};
34 window.onload = function() {34 window.onload = function() {
35 M.load('example.json');
35 M.load('mainmaraafinal.json');
36 };36 };
37 </script>37 </script>
38 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>38 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>