Coder Social home page Coder Social logo

jasmine-jquery fixtures about jasmine-py HOT 5 CLOSED

jasmine avatar jasmine commented on June 9, 2024
jasmine-jquery fixtures

from jasmine-py.

Comments (5)

codingjoe avatar codingjoe commented on June 9, 2024

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.

Gerg avatar Gerg commented on June 9, 2024

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.

codingjoe avatar codingjoe commented on June 9, 2024

@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.

slackersoft avatar slackersoft commented on June 9, 2024

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.

slackersoft avatar slackersoft commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.