Skip to content

Instantly share code, notes, and snippets.

@sclarson
Last active December 30, 2015 09:59
Show Gist options
  • Select an option

  • Save sclarson/7812784 to your computer and use it in GitHub Desktop.

Select an option

Save sclarson/7812784 to your computer and use it in GitHub Desktop.
var stuff = '';
var query = '';
$($('table')[0]).find('tr').each(function(){
tds = $(this).find('td');
stuff += 'public ' + $(tds[1]).text() + ' ' + $(tds[0]).text() + ' {get; private set;} \n';
query += ', ' + $(tds[0]).text();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment