Along the way, this PR removes requestWithCallback() which isn't a great name or location for a function and moves it to Sefaria.adminEditorApiRequest(). It also refactors the function so some functionality is deferred to the calling functions so the function can be a bit more general.
…atic characters for a URI.
Along the way, this PR removes
requestWithCallback()
which isn't a great name or location for a function and moves it toSefaria.adminEditorApiRequest()
. It also refactors the function so some functionality is deferred to the calling functions so the function can be a bit more general.