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 moved this from #89 for visibility, as that issue is closed.
We use yuidoc (in fact have for years) and the problem in #89 started to once again become apparent a few days ago. I can distinctly remember being able to use yuidoc from the file system without problems, but now I got this pjax error:
Uncaught TypeError: Cannot read property 'getById' of null
at n.pjax.updateTabState (apidocs.js:234)
This happens in response to cross-origin requests which are not supported for protocol schemes http, data, chrome, chrome-extension, https.
So, it actually seems to be the Same Origin Policy preventing ajax/pjax requests to the file system.
Is it possible to disable pjax completely when dealing with file:// urls?
Versions: Node.js version: v6.10.3
YUI version: 3.18.1
YUIDoc version: 0.10.2
This is part of ember-cli-yuidoc, which in turn is part of our application.
The text was updated successfully, but these errors were encountered:
I moved this from #89 for visibility, as that issue is closed.
We use yuidoc (in fact have for years) and the problem in #89 started to once again become apparent a few days ago. I can distinctly remember being able to use yuidoc from the file system without problems, but now I got this pjax error:
This happens in response to
cross-origin requests which are not supported for protocol schemes http, data, chrome, chrome-extension, https
.So, it actually seems to be the Same Origin Policy preventing ajax/pjax requests to the file system.
Is it possible to disable pjax completely when dealing with file:// urls?
The text was updated successfully, but these errors were encountered: