Created
March 4, 2012 01:54
-
-
Save madpilot/1969946 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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