Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ajax-manager

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ajax-manager - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

2

package.json
{
"name": "ajax-manager",
"version": "1.0.9",
"version": "1.0.10",
"description": "An jQuery ajax management tool",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,2 +5,3 @@ # ajax-manager

# install
```

@@ -10,3 +11,6 @@ npm install ajax-manager

# useage
# Usage
You can import ajax-manager in both AMD/CMD and CommonJS way.
```javascript

@@ -18,2 +22,14 @@ import ajaxManager from 'ajax-manager'

Or you can just link ajax-manager with a script tag (**not recommanded**):
```html
<script src="../ajax-maanager/dist/ajax-manager.js"></script>
```
In this way, an Object called `ajaxManager` have been insert into global(`window`), you should call it like below:
```javascript
ajaxManager.default(models, globalConfig, jQuery)
```
# API

@@ -156,3 +172,3 @@

Use `__apiRoot` field to indicate the backend api root, it will concat in front of the `url`. GlobalConfig, modelConfig and apiCallingConfig are all accept this field.
Use `__apiRoot` field to indicate the backend api root, it will concat in front of the `url`. GlobalConfig, modelConfig and apiCallingConfig all accept this field.

@@ -159,0 +175,0 @@ ```javascript

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc