cferdinandi / atomic

A tiny, Promise-based vanilla JS Ajax/HTTP plugin with great browser support.
MIT License
540 stars 78 forks source link

Document is confusing, references ajax but example uses atomic #92

Open rouilj opened 3 years ago

rouilj commented 3 years ago

In the README, the Options and Settings section says:

       Atomic includes smart defaults and works right out of the box. You can pass options into Atomic
       through the ajax() function:

but the example doesn't mention ajax:

atomic('https://s...

Should ajax() be atomic()?

-- rouilj