javascript Programming Glossary: this.attributes.widgets
Backbone.js Empty Array Attribute http://stackoverflow.com/questions/11459244/backbone-js-empty-array-attribute function id console.log this.attributes console.log this.attributes.widgets ... I then add a widget via addWidget . When trying getWidget.. this.attributes but it's shown as empty when logging this.attributes.widgets . Does anyone know what would cause this EDIT I've changed the.. you're doing this console.log this.attributes console.log this.attributes.widgets So you have something like this at 2 attributes.widgets ^ ^..
|