Skip to content

Commit

Permalink
tweaked variables
Browse files Browse the repository at this point in the history
  • Loading branch information
gyaresu committed Jun 12, 2015
1 parent 8f47e34 commit 928c133
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ $(document).ready(function(){ init() })
var public_spreadsheet_url ='https://docs.google.com/spreadsheets/d/153rVXCt4nlQn8Fj80GmWOLO5_aF4phW0MZrNIZfpUc8/pubhtml?gid=291196347&single=true'

function init() {
var tabletop = Tabletop.init( { key: public_spreadsheet_url,
callback: showInfo,
simpleSheet: true } )
Tabletop.init( { key: public_spreadsheet_url,
callback: showInfo,
simpleSheet: true } )
}


function showInfo(data) {
thing = data // if you type `thing` in the console it's now a global variable so you can see the objects
//thing = data // if you type `thing` in the console it's now a global variable so you can see the returned objects
$.each(data, function (i, each) {
$('#comboBoxData').append('<li>' + '<b>Exercise</b>: ' + each.Exercise + '<br />' + '<b>Description:</b> ' + each.Description +
'<br />' + '<b>Objective:</b> ' + each.Objective + '<br />' + '<b>Notes:</b> ' + each.Notes + '<br />' + '<b>Slides: </b> ' +
Expand Down

0 comments on commit 928c133

Please sign in to comment.