REFACTOR, TERMINOLOGY: It's not Attest costs in English, it's Approve

This commit is contained in:
Rick Falkvinge
2019-01-31 12:41:22 +01:00
parent cc5f8bccad
commit 236709e3f4
44 changed files with 514 additions and 473 deletions
+12
View File
@@ -448,6 +448,18 @@ var SwarmopsJS = (function () {
}
// Preserves the "this" object into success and error functions
publicSymbols.proxiedAjaxCall = proxiedAjaxCall;
function proxiedAjaxCall(url, params, successFunction, errorFunction) {
ajaxCall(
url,
params,
$.proxy(successFunction, this),
errorFunction !== undefined? $.proxy(errorFunction, this) : undefined
);
}
publicSymbols.fancyBoxInit = fancyBoxInit;
function fancyBoxInit(selector) {