trying to make a nested collection
✓ Published0🌍 Public
Aamundo
Last edited Sep 9, 2012
Created on Sep 9, 2012
This example shows a Backbone.js model for a single sentence, which is parsed from an external JSON file containing transcription, translation, and a list of words with morpheme and gloss data. The sentence model creates a nested collection of words, and the code defines a text collection that stores sentences using the Backbone.LocalStorage adapter. The application initializes by fetching a sentence from the data source and parsing its word components into the nested structure, though the visualization of this nested collection is not implemented in the provided code.
AI-generated description