Coder Social home page Coder Social logo

Comments (6)

mrdavidlaing avatar mrdavidlaing commented on July 21, 2024

Let me know if you'd like me to package files in a different place before submitting a patch (I don't really understand how your build process works)

from amplify.

jdsharp avatar jdsharp commented on July 21, 2024

Hey David,

Will do, our build process is an internal tool that we'll be releasing shortly, but it's not quite finished being baked yet.

Cheers,

  • Jonathan

from amplify.

mrdavidlaing avatar mrdavidlaing commented on July 21, 2024

Bump - any update on this?

from amplify.

scottgonzalez avatar scottgonzalez commented on July 21, 2024

Thanks, but this seems out of scope. There really shouldn't be a CORS type, this should be built into the ajax type. If there's a change that needs to be made in amplify.request in order to allow you to build a plugin that does that, let us know. We're very interested in allowing reasonable extensions.

It's unfortunate that CORS is a mess, but I don't want to ship code in amplify that relies on browser plugins such as Flash. Also, since this uses jQuery's ajax transports, it won't work with all of the versions of jQuery that we support.

from amplify.

mrdavidlaing avatar mrdavidlaing commented on July 21, 2024

Hi Scott,

In my case, I have to support CORS requests on IE7, and the only way I can
see to do this is using a Flash transport.

If you could expose a way to override the XHR that is being used; then
perhaps this plugin could be more "low level"

What do you think?

David

2011/9/9 Scott González <
[email protected]>

Thanks, but this seems out of scope. There really shouldn't be a CORS type,
this should be built into the ajax type. If there's a change that needs to
be made in amplify.request in order to allow you to build a plugin that does
that, let us know. We're very interested in allowing reasonable extensions.

It's unfortunate that CORS is a mess, but I don't want to ship code in
amplify that relies on browser plugins such as Flash. Also, since this uses
jQuery's ajax transports, it won't work with all of the versions of jQuery
that we support.

Reply to this email directly or view it on GitHub:
#20 (comment)

David Laing
Open source @ City Index - github.com/cityindex
http://davidlaing.com
Twitter: @davidlaing

from amplify.

scottgonzalez avatar scottgonzalez commented on July 21, 2024

jQuery already provides jQuery.ajaxSettings.xhr.

2011/9/9 David Laing <
[email protected]>

Hi Scott,

In my case, I have to support CORS requests on IE7, and the only way I can
see to do this is using a Flash transport.

If you could expose a way to override the XHR that is being used; then
perhaps this plugin could be more "low level"

What do you think?

David

2011/9/9 Scott Gonzlez <
[email protected]>

Thanks, but this seems out of scope. There really shouldn't be a CORS
type,
this should be built into the ajax type. If there's a change that needs
to
be made in amplify.request in order to allow you to build a plugin that
does
that, let us know. We're very interested in allowing reasonable
extensions.

It's unfortunate that CORS is a mess, but I don't want to ship code in
amplify that relies on browser plugins such as Flash. Also, since this
uses
jQuery's ajax transports, it won't work with all of the versions of
jQuery
that we support.

Reply to this email directly or view it on GitHub:
#20 (comment)

David Laing
Open source @ City Index - github.com/cityindex
http://davidlaing.com
Twitter: @davidlaing

Reply to this email directly or view it on GitHub:
#20 (comment)

from amplify.

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.