Skip to content

Instantly share code, notes, and snippets.

@madpilot
Created March 4, 2012 01:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madpilot/1969946 to your computer and use it in GitHub Desktop.
Save madpilot/1969946 to your computer and use it in GitHub Desktop.
var results = JSON.parse(response.responseText);
// Strip out the head node
var list = new WinJS.Binding.List();
for (var i = 0, len = results.length; i < len; i++) {
list.push(results[i].company);
}
// This throws: JavaScript runtime error: Object doesn't support property or method 'createListBinding'
companiesList.winControl.itemDataSource = list;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment