late-bind my App.* handlers

akkartik
Nov 18, 2023, 10:15 PM
LBYVPRVRY32KWUT7EM35KCVT2KZLHU4VAKTTWC7NDIY4YRKZYFAQC

Dependencies

  • [2] KE4T63TS stop using keyboard.isDown
  • [3] AVTNUQYR basic test-enabled framework
  • [*] 3QNOKBFM beginnings of a test harness

Change contents

  • edit in app.lua at line 409
    [3.7727]
    [3.7727]
    -- make sure to late-bind handlers like LÖVE's defaults do
  • replacement in app.lua at line 425
    [2.705][2.705:745]()
    love.handlers[name] = App[name]
    [2.705]
    [2.745]
    love.handlers[name] = function(...) App[name](...) end