diff options
author | GeorgOstrovski <ostrovski@google.com> | 2015-01-15 21:29:32 +0300 |
---|---|---|
committer | GeorgOstrovski <ostrovski@google.com> | 2015-01-15 21:29:32 +0300 |
commit | 118141cf60fb4711ccaa2346cbacaf857996e39c (patch) | |
tree | c10721595ea7536024046b7fcfd7f04c0b0415d5 | |
parent | 679c6dab55c22e68549b691a2f687afed56bea82 (diff) |
Use rawset instead of direct assignment
This is to avoid warnings in strictness tests (such as package [strict](https://github.com/deepmind/strict))
-rw-r--r-- | inline.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -437,7 +437,7 @@ function dok.help(symbol, asstring) end end -help = dok.help +rawset(_G, 'help', dok.help) -------------------------------------------------------------------------------- -- browse() is a simpler function that simply triggers a browser @@ -456,7 +456,7 @@ function dok.browse() qtide = nil end -browse = dok.browse +rawset(_G, 'browse', dok.browse) -------------------------------------------------------------------------------- -- standard usage function: used to display automated help for functions |