freescout-woocommerce/Public/js/laroute.js
Viszt Péter df5c1e7aed v1.0
Settings screen, server-side ajax request, refresh button, better styling
2020-10-10 12:05:57 +02:00

15 lines
No EOL
339 B
JavaScript

(function () {
var module_routes = [
{
"uri": "woocommerce\/ajax",
"name": "woocommerce.ajax"
}
];
if (typeof(laroute) != "undefined") {
laroute.add_routes(module_routes);
} else {
contole.log('laroute not initialized, can not add module routes:');
contole.log(module_routes);
}
})();