forbeslindesay / ajax Goto Github PK
View Code? Open in Web Editor NEWStandalone AJAX library inspired by jQuery/zepto
Home Page: https://component.jit.su/ForbesLindesay/ajax
License: MIT License
Standalone AJAX library inspired by jQuery/zepto
Home Page: https://component.jit.su/ForbesLindesay/ajax
License: MIT License
Where is the source? There's only a minified file in the repo
Would be nice to have something like http://npmjs.com/then-request for AJAX.
I tried this component to replace jQuery in a project where I use cross-domain requests.
But to found new requests does not carry cookes with it.
And in source code I can not find such string named xhrFields
. So it's not supported?
This hack (18dbb6c) don't work with webpack.
I use npm, but webpack try to require component's module 'type'.
attempting to load this via
var ajax = require('./lib/ajax');
then running through gulp-browserify and getting
Error: Cannot find module 'type-of'
Something is wrong with the hosting server. All of your images and links are broken.
This would be awesome.
This project seems to be deserted
var r = require
type = r('type')
causes component/builder2.js to not be able to substitute 'type'
with "[email protected]");
. I've raised the issue at componentjs/builder2.js#47 also.
I want to use Sourcegraph for ajax code search, browsing, and usage examples. Can an admin enable Sourcegraph for this repository? Just go to https://sourcegraph.com/github.com/ForbesLindesay/ajax. (It should only take 30 seconds.)
Thank you!
Can you add to the project a development version (non-minified)?
I'm not sure why this isn't working. I am using the library from npm.
ajax({
method: "DELETE",
url: "/api/v1/useraccount_settings/quick_work_sites/1"
});
ajax exists, and i can call ajax.get(); etc, but I can't use the syntax described on the readme.
It can be implemented via adding timestamp option on cacheable methods XHR calls
The library will not expose to window.ajax
on Chrome or Firefox...
I tried 0.0.1 from the tag and it worked... help?
This line does not link to a valid download link.
Or load using a script tag (downloads are available [here](https://component.jit.su/ForbesLindesay/ajax/download))
when I use ajax with webpack, it show error like that:
ERROR in ./~/component-ajax/index.js Module not found: Error: Cannot resolve module 'type' in /Users/jackielin/work/github/store/node_modules/component-ajax @ ./~/component-ajax/index.js 8:9-18
This is because package.json no type dependent. And here occurs error. Please fix it. Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.