| 12345678910111213141516171819202122 |
- /**
- * DevExtreme (integration/jquery/ajax.js)
- * Version: 19.1.16
- * Build date: Tue Oct 18 2022
- *
- * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
- * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
- */
- "use strict";
- var jQuery = require("jquery");
- var ajax = require("../../core/utils/ajax");
- var useJQuery = require("./use_jquery")();
- if (useJQuery) {
- ajax.inject({
- sendRequest: function(options) {
- if (!options.responseType && !options.upload) {
- return jQuery.ajax(options)
- }
- return this.callBase.apply(this, [options])
- }
- })
- }
|