Giter VIP home page Giter VIP logo

ajax's Issues

跨域真的能实现?

粗略看了一下,代码里对跨域的区别貌似仅仅是参数里 crossDomain 为 true?

长轮询如何取消操作呢?

hello 你好
我正在项目里使用你的ajax1.8的解决方案
有个问题不知道怎么解决
在我使用longPolling长轮询的时候,怎么进行取消操作呢,可否给个实例

image

万分感谢

[bug]:数据处理

tool.each(ajaxSetting.data,function(item,index){
     getParam +=(encodeURI(index)+"="+encodeURI(item)+"&")
 });

源码部分数据只是很浅的做了处理,比较深的数据你没有做递归,比如以下数据

{
     a : 213,
     b : [
           {c : 132}
      ]
}

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.