Backbone.js Uncaught ReferenceError
问题 Im new to backbone, trying to fetch json from the Wordpress json plugin and render into a template, but when looping through posts I get the following error Uncaught ReferenceError: posts is not defined Any help appreciated. Thanks... jQuery(function($) { var Post = Backbone.Model.extend(); var Posts = Backbone.Collection.extend({ model: Post, url: '/api/get_post/?json=get_recent_posts', parse: function(resp) { console.log("posts", resp); return resp; } }); var listView = Backbone.View.extend