Is there a way to check whether Backbone.history
already have been started or not.
I am consuming a view as a service which is written using Backbone and routers.
When I am rendering the view I am getting the error Backbone.history has already been started
.
Is there a way to avoid the error?
Because of this error the routers attached in the external view is not invoked.
Backbone.History.started
is a boolean variable that indicated whether or not History has been started. Be sure that the H
is uppercase.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With