Backbone and best practice getting config JSON
问题 I've got a JSON file that looks like this. { "config": { "setting1": 'blabla', "setting2": 'blablabla' }, "content": { "title": "Title of an exercise.", "author": "John Doe", "describtion": "Exercise content." }, "answers": [ { "id": "1", "content": "Dog", "correct": true }, { "id": "2", "content": "Fish", "correct": false } ] } Than, I create a Backbone View, combined from content model, and answers (which are randomly selected, but It's not most important now). I've also got a config, which