ns.lua 696 B

12345678910111213141516171819
  1. --[========================================================================[--
  2. Abbreviate LÖVE namespaces as locals
  3. Written by Pedro Gimeno Fortea, donated to the public domain.
  4. Usage (copy-paste this line to every file needing the namespaces):
  5. local la,le,lfs,lf,lg,li,lj,lk,lm,lmo,lp,ls,lsys,lth,lt,lw,ld,lto,lv = require'ns'()
  6. --]========================================================================]--
  7. return function() return
  8. love.audio, love.event, love.filesystem, love.font, love.graphics,
  9. love.image, love.joystick, love.keyboard, love.math, love.mouse,
  10. love.physics, love.sound, love.system, love.thread, love.timer, love.window,
  11. love.data, love.touch, love.video
  12. end