Getting the above error on my installation, this is appearing on the /backbone_example page and the Form is not loading or displaying the node. These were my steps to set up (I had to install spyc which wasn't documented and some other configuration steps that seemed undocumented as well):

1) drush dl backbone
2) drush en backbone, this downloaded libraries and jquery_update modules and enabled backbone, backbone_library, libraries, jquery_update
3) downloaded the production versions of backbone and underscore http://documentcloud.github.com/backbone/backbone-min.js http://documentcloud.github.com/underscore/underscore-min.js and put them in sites/all/libraries/{backbone|underscore} respectively
4) drush en backbone_example this downloaded services_views and services and enabled: backbone_example, views, services_views, backbone_base, rest_server, ctools, services, backbone_services
5) My status report then told me I needed the spyc library so I followed the instructions and put spyc.php under sites/all/modules/service/servers/rest/lib
6) Went to admin/structure/services/list/backbone_rest/resources and ticked "node" and saved.

Then ran cron, cc all, etc to ensure cache was clear. Navigated to /backbone_example and attempted to load a node through the text field but nothing happened. This seems like a bug but please advise if it's something wrong with my setup.

Thanks!

CommentFileSizeAuthor
#3 1939012-backbone-document-jquery.patch546 bytesacbramley
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

acbramley’s picture

Priority: Normal » Major
acbramley’s picture

Title: Uncaught TypeError: Object [object Object] has no method 'off' » Document the version of jquery required
Category: bug » support

This was fixed by going to the jquery_update configuration page and changing the jquery version up to 1.8. This needs to be documented on the project page and in the README

acbramley’s picture

Status: Active » Needs review
FileSize
546 bytes

Patch to add the README docs

acbramley’s picture

Status: Needs review » Reviewed & tested by the community
clemens.tolboom’s picture

Thanks for reporting this. It helped me getting the example working.

I just added #2077913: Add hook requirements to make live easier. which make the status report on backbone and underscore a little better.