mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ac907df634
In some cases, it's useful to be able to wrap a function and either replace its contents entirely or have some callback be run before calling the underlying function. The most obvious users for this feature are the Japanese and Korean keyboards (both of which need to wrap the inputbox methods with either their own versions or have basic callbacks be run before the method is executed). This is loosely based on how busted/luassert spies work. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> |
3 years ago | |
---|---|---|
.. | ||
apps | 3 years ago | |
device | 3 years ago | |
document | 3 years ago | |
ui | 3 years ago | |
cache.lua | 3 years ago | |
cacheitem.lua | 3 years ago | |
configurable.lua | 3 years ago | |
dbg.lua | 3 years ago | |
depgraph.lua | 4 years ago | |
device.lua | 3 years ago | |
dispatcher.lua | 3 years ago | |
docsettings.lua | 3 years ago | |
dump.lua | 4 years ago | |
fontlist.lua | 3 years ago | |
gettext.lua | 3 years ago | |
httpclient.lua | 8 years ago | |
languagesupport.lua | 3 years ago | |
logger.lua | 5 years ago | |
luadata.lua | 5 years ago | |
luasettings.lua | 3 years ago | |
luxl.lua | 4 years ago | |
optmath.lua | 4 years ago | |
persist.lua | 3 years ago | |
pluginloader.lua | 3 years ago | |
pluginshare.lua | 7 years ago | |
random.lua | 5 years ago | |
readcollection.lua | 4 years ago | |
readhistory.lua | 3 years ago | |
socketutil.lua | 3 years ago | |
util.lua | 3 years ago | |
version.lua | 3 years ago |