@bbn/bbn 1.0.396 → 1.0.397
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bbn.js +1 -1
- package/dist/bbn.js.map +1 -1
- package/dist/fn/ajax/ajax.js +1 -2
- package/package.json +1 -1
package/dist/fn/ajax/ajax.js
CHANGED
|
@@ -3,7 +3,6 @@ import replaceAll from '../string/replaceAll.js';
|
|
|
3
3
|
import getRequestId from './getRequestId.js';
|
|
4
4
|
import getLoader from './getLoader.js';
|
|
5
5
|
import extend from '../object/extend.js';
|
|
6
|
-
import numProperties from '../object/numProperties.js';
|
|
7
6
|
import _deleteLoader from './_deleteLoader.js';
|
|
8
7
|
import isFunction from '../type/isFunction.js';
|
|
9
8
|
import _addLoader from './_addLoader.js';
|
|
@@ -118,7 +117,7 @@ export default function ajax(url, datatype, data, success, failure, abort) {
|
|
|
118
117
|
};
|
|
119
118
|
}
|
|
120
119
|
var args = [url];
|
|
121
|
-
if (isObject(data)
|
|
120
|
+
if (isObject(data)) {
|
|
122
121
|
args.push(data);
|
|
123
122
|
}
|
|
124
123
|
args.push(options);
|