Just installed example module.
Connect libraries to backbone_example page.
Navigate to /backbone_example page and receive this error: Uncaught TypeError: undefined is not a function in this line: this.nodeModel = new Drupal.Backbone.NodeModel();

So. What can I do?

Comments

ethanw’s picture

We're in the process of overhauling the examples. I recommend using the backbone_restws_example module instead for now.

frega’s picture

@Daniel - make sure you have the latest git checkout and then apply the patch from #1791186: backbone_example include backbone_services' drupalbackbone-services library . If you want to try the restws example make sure to apply the latest patch from #1463024: Build RestWS Flavor as well.