Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. $.comment.setText(_comments[1].comment)
  2.  
  3. $.comment.setText(_comments[0].comment)
  4.  
  5. [{"comment":"comment2","picture":"","commenter":"admin","state":"published","comment_id":"89,"commenter_image_path":"Download.jpeg"},
  6. {"comment":"comment1","picture":"","commenter":"admin","state":"published","comment_id":"88","commenter_image_path":"Download.jpeg"}]
  7.  
  8. function populate_comment_table(_comments) {
  9. $.comment.setText(_comments[commentcounter].comment);
  10. $.commenter_name.setText(_comments[commentcounter].commenter);
  11. $.commenter_image.setImage(S3 + "subscriber/" + comments[commentcounter].commenter_image_path);
  12. Ti.API.info(JSON.stringify(response) + "this is populate comments view");
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement