Comments (5)
I found a workaround by adding helpers to the src
files and changing the fixturesPath
to start with __src__
It's not really nice, as the src files are loaded in the head element. I'll write a patch, that allows flask to deliver fixtures.
from jasmine-py.
Hey Joe,
Jasmine jQuery is not owned by the jasmine maintainers, so I'm not sure how it is trying to load these fixtures. If it is trying to request them from your local filesystem, this may just be an issue of cross-origin requests.
from jasmine-py.
@Gerg no it doesn't but your flask setup currently only delivers 3 filetypes
.
I could create a patch that will allow using jasmine-jquery
without changing the fixturePath
, but that would require changing the current route design. As an alternative I could write a documentation and how to change the fixturePath
.
I let you be the judge of that, but I prefer the first solution.
from jasmine-py.
We've recently rejiggered how the files are served, so it should be possible to add a mechanism to mount another engine inside cherrypy to serve other things. http://docs.cherrypy.org/en/latest/basics.html?highlight=mount#multiple-applications
from jasmine-py.
We haven't heard anything else on this issue in a while and we think some of the newer versions of Jasmine should support mounting other cherrypy engines to serve other file types, so I'm going to close this.
I'd be happy to talk more if we need some extension points to inject a server more easily. Thanks for using Jasmine!
from jasmine-py.
Related Issues (20)
- Static Files not encoded in OS/locale default crash Standalone Flask App HOT 2
- decode error in standalone.py when file encoding not recognized HOT 1
- pypi jasmine package fails to install "ValueError: bad marshal data (unknown type code)" HOT 3
- support selenium 3 HOT 2
- Can't include remote css files HOT 2
- Build fails with Werkzeug-0.11.11 HOT 1
- Unbearably slow HOT 2
- support writing junit-xml from jasmine-ci HOT 6
- jasmine-ci: support command line arguments to the target browser HOT 2
- chatdet fixed dependency HOT 1
- jasmine-ci doesn't execute tests HOT 3
- Jasmine files not served with correct content type HOT 1
- Unexpected query string parameters: random
- With Jasmine 3.0, current documentation inaccurate HOT 2
- No MySQL support MySQL support does not seem to be installed on this server HOT 3
- jasmine init raises TypeError
- init command fails with TypeError HOT 6
- jasmine 3.0+ doesn't work HOT 5
- Relax PyYAML version
- Jasmine doesn't terminate correctly in case it encounters some errors HOT 4
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 jasmine-py.