You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran into an issue using bullet together with axios. I wanted to make a note of it in your repository, as I assume that it is probable that other people are also using Rails with Bullet and Axios.
Apparently, when firing an XHR with axios, this._storedUrl in bulletXHROnload is a URL Object. I'm unsure as to why this would be. However, this causes an error in your xhr script, as 'startsWith' is only available on strings.
For me, updating to the latest version of bullet with add_footer turned off 'fixed' the issue, as I do not explicitly need it. But for those who do, this might pose a problem if they want to use axios as well.
Anyway, just an FYI.
The text was updated successfully, but these errors were encountered:
Hi,
I just ran into an issue using bullet together with axios. I wanted to make a note of it in your repository, as I assume that it is probable that other people are also using Rails with Bullet and Axios.
Apparently, when firing an XHR with axios,
this._storedUrl
inbulletXHROnload
is a URL Object. I'm unsure as to why this would be. However, this causes an error in your xhr script, as 'startsWith' is only available on strings.For me, updating to the latest version of bullet with
add_footer
turned off 'fixed' the issue, as I do not explicitly need it. But for those who do, this might pose a problem if they want to use axios as well.Anyway, just an FYI.
The text was updated successfully, but these errors were encountered: