Go to file
Brad Jorsch 00d4b711ed Add mw.loadData, for static data loading
People sometimes want to load large tables of constant data from a
module. Using require(), this has to be reparsed every time, which can
be slow.

mw.loadData() will load the just data once, and return a table with a
metatable cleverly designed to give read-only access to the loaded data.

Change-Id: Icec192bdbe6cfca7902fd5cb5d0e217bd8399637
2013-02-21 23:03:53 +00:00
common Allow extensions to add libraries 2013-02-14 12:38:03 -05:00
engines Add mw.loadData, for static data loading 2013-02-21 23:03:53 +00:00
modules Handle session loss in the console 2013-02-11 13:23:10 -05:00
tests/engines Add mw.loadData, for static data loading 2013-02-21 23:03:53 +00:00
.gitignore Lua ustring implementation 2013-02-12 14:26:29 -05:00
.gitreview Adding .gitreview 2012-04-06 13:46:17 -04:00
Scribunto.i18n.php Localisation updates from http://translatewiki.net. 2013-02-21 20:20:46 +00:00
Scribunto.magic.php Localisation updates from http://translatewiki.net. 2012-10-03 20:17:56 +00:00
Scribunto.namespaces.php Add Hebrew namespace aliases 2012-08-26 18:20:59 +00:00
Scribunto.php Enable subpages 2013-02-20 21:53:47 -05:00