proper moto.ajax fix

This commit is contained in:
Stewart Allen 2025-07-08 21:49:19 -04:00
commit 69b21da247

View file

@ -1,6 +1,6 @@
/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */ /** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
import { ajax } from '../moto/ajax.js'; import { ajax as moto_ajax } from '../moto/ajax.js';
import { local as dataLocal } from '../data/local.js'; import { local as dataLocal } from '../data/local.js';
function parseOpt(ov) { function parseOpt(ov) {
@ -27,7 +27,7 @@ function encodeOpt(opt) {
} }
function ajax(url, fn, rt, po, hd) { function ajax(url, fn, rt, po, hd) {
return ajax.new(fn, rt).request(url, po, hd); return moto_ajax.new(fn, rt).request(url, po, hd);
} }
function o2js(o,def) { function o2js(o,def) {