I'm trying to bind some data to a listview in win8 using javascript. The code I'm using is:
var myDS = new WinJS.UI.ArrayDataSource([{id: 1, value: xx}, {id: 2, value: yy}]); console.log("data obj created");
However, the program was blocked in the dataarray creation line, and the log was never displayed.
Anyone knows why?