Comments (5)
How about this issue #48 ?
from holojs.
I'll take a look at this in the next couple of days. Does it sometimes work to download the JSON or is it 100% not working?
from holojs.
Hi Odimond,
For some reason it isn't recognizing a JSON file to be of type text (xhr->IsTextResponse() is returning false)So this is a temporary fix: just Change the following code of "XmlHttpRequest.js"
from
Object.defineProperty(this, "response", {
get: function () {
return nativeInterface.xhr.getResponse(this.native);
}
to
Object.defineProperty(this, "response", {
get: function () {
return nativeInterface.xhr.getResponseText(this.native);
}
from holojs.
Thank you @Reda-S for debugging this.
Indeed XMLHttpRequest.response should return text if the request type is text. I fixed the native implementation of XmlHttpRequest to not fail in getResponse if the request type is text and instead return the text.
from holojs.
The fix is in master. Please re-open the issue if you encounter it again.
from holojs.
Related Issues (20)
- Spatial Understanding HOT 4
- OpenGL and EGL includes are not found when trying to build the solution. HOT 3
- Release mode HOT 2
- Access violation when accessing HoloLens camera HOT 3
- Windows Universal Runtime version 10.0.16299.0 HOT 1
- Spatial anchor read access violation HOT 2
- XmlHttpRequest exception when remote HTTP server is not online HOT 1
- Repetitive Object load causing memory leak HOT 1
- HTTP Requests within HoloJS?!?! HOT 3
- Different Origin when Space was lost for a moment
- Windows 10 build 17720 breaks HoloJs Spatial Input HOT 2
- FPS drops when calling dispose() in requestAnimationFrame()
- Is there a possibility to use Three GLTFLoader? HOT 2
- It There a way to check voice without specifying commands? HOT 4
- How to use video texture in HoloJS ?
- Access to RGB camera using Spin app HOT 5
- Immersive Mode
- Sample projects unresponsive to gestures. HOT 2
- HoloJS with HoloLens 2 HOT 7
- This repo is missing important files HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from holojs.