jsuites 4.9.36 → 4.9.37
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/jsuites.basic.js +5 -1
- package/dist/jsuites.js +5 -1
- package/package.json +1 -1
package/dist/jsuites.basic.js
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
var jSuites = function(options) {
|
|
19
19
|
var obj = {}
|
|
20
|
-
var version = '4.9.
|
|
20
|
+
var version = '4.9.27';
|
|
21
21
|
|
|
22
22
|
var find = function(DOMElement, component) {
|
|
23
23
|
if (DOMElement[component.type] && DOMElement[component.type] == component) {
|
|
@@ -342,6 +342,10 @@ jSuites.ajax = (function(options, complete) {
|
|
|
342
342
|
jSuites.ajax.beforeSend(httpRequest);
|
|
343
343
|
}
|
|
344
344
|
|
|
345
|
+
if (document.ajax && typeof(document.ajax.beforeSend) == 'function') {
|
|
346
|
+
document.ajax.beforeSend(httpRequest);
|
|
347
|
+
}
|
|
348
|
+
|
|
345
349
|
httpRequest.onload = function() {
|
|
346
350
|
if (httpRequest.status === 200) {
|
|
347
351
|
if (options.dataType == 'json') {
|
package/dist/jsuites.js
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
var jSuites = function(options) {
|
|
19
19
|
var obj = {}
|
|
20
|
-
var version = '4.9.
|
|
20
|
+
var version = '4.9.37';
|
|
21
21
|
|
|
22
22
|
var find = function(DOMElement, component) {
|
|
23
23
|
if (DOMElement[component.type] && DOMElement[component.type] == component) {
|
|
@@ -342,6 +342,10 @@ jSuites.ajax = (function(options, complete) {
|
|
|
342
342
|
jSuites.ajax.beforeSend(httpRequest);
|
|
343
343
|
}
|
|
344
344
|
|
|
345
|
+
if (document.ajax && typeof(document.ajax.beforeSend) == 'function') {
|
|
346
|
+
document.ajax.beforeSend(httpRequest);
|
|
347
|
+
}
|
|
348
|
+
|
|
345
349
|
httpRequest.onload = function() {
|
|
346
350
|
if (httpRequest.status === 200) {
|
|
347
351
|
if (options.dataType == 'json') {
|
package/package.json
CHANGED