Projects (GanjooRazor -> DiwanRazor, GanjoorService.sln -> DiwanService.sln), files, folders, classes, namespaces, settings, API routes (/api/diwan) and DB tables (Diwan*). External addresses (ganjoor.net, github.com/ganjoor) unchanged. Migrations renamed consistently (no pending model changes); requires a fresh database. Upstream RUNNING_LOCALLY/SEMANTIC_SEARCH docs archived unmodified under docs/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
175 B
JavaScript
9 lines
175 B
JavaScript
function delay(fn, ms) {
|
|
let timer = 0
|
|
return function (...args) {
|
|
clearTimeout(timer)
|
|
timer = setTimeout(fn.bind(this, ...args), ms || 0)
|
|
}
|
|
}
|
|
|