Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
ethanw CreditAttribution: ethanw commentedWe're in the process of overhauling the examples. I recommend using the backbone_restws_example module instead for now.
Comment #2
frega CreditAttribution: frega commented@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.