Just following up on my own question. I ended up using https://github.com/martindavis/trigger-backbone.sync with some modifications - so far so good
How to get backbone working with forge.request in Trigger.io
-
01-07-2022 - |
Question
Trigger.io has a forge.request module that takes care of cross-domain HTTP requests.
What's the cleanest way of integrating it into a backbone app?
It is possible to override the Sync method ( for example https://github.com/martindavis/trigger-backbone.sync )
But I don't feel very comfortable using a random plugin for something as important.
La solution 2
Autres conseils
Have you looked at this tutorial?
https://trigger.io/docs/current/recipes/javascript_libraries/example_project.html
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow