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!
Comment | File | Size | Author |
---|---|---|---|
#3 | 1939012-backbone-document-jquery.patch | 546 bytes | acbramley |
Comments
Comment #1
acbramley CreditAttribution: acbramley commentedComment #2
acbramley CreditAttribution: acbramley commentedThis 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
Comment #3
acbramley CreditAttribution: acbramley commentedPatch to add the README docs
Comment #4
acbramley CreditAttribution: acbramley commentedComment #5
clemens.tolboomThanks 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.